Hi. I’m Sharon Machlis at IDG Communications, here with Episode 51 of Do More With R: Create an interactive drilldown graph with R and the highcharter package.
Drilldowns can be a good way to present a lot of data in a digestible format. Here’s the example we’ll build today: Median home values by U.S. state; click a state to drill down to county-level data.
There are 3 main steps to making a highcharter drilldown graph:
1. Wrangle your data into the necessary format;
2. Create a basic top-level graph; and
3. Add the drilldown.
Let’s get started. If you want