5.3 Graphs and charts
Histograms, heat maps and cross-filtering dashboards.
Key points
A histogram shows how often values fall in each range. NVIDIA's example used one to show most bike trips were under 20 minutes.
What NVIDIA says (2)
“An hvPlot histogram of trip durations generated with the Divvy dataset”
“In this instance, the vast majority of bike trips appear under 20 minutes.”
hvPlot is a pandas-like plotting API with built-in interactivity.
What NVIDIA says (1)
“Charts in hvPlot can be interactively displayed using Bokeh and Plotly extensions, or statically with the Matplotlib extension.”
Cross-filtering means selecting data in one chart filters all linked charts. NCCL means the NVIDIA Collective Communications Library.
What NVIDIA says (1)
“cuxfilter enables GPU accelerated cross-filtering dashboards from notebooks, in just a few lines of Python code.”
A heat map colors a grid of two categories by a value. It shows patterns across both at once.
What NVIDIA says (1)
“An hvPlot heat map showing trips by hour and day of week, per month”
Key terms
- Histogram: A chart of how many values fall into each range.
- Heat map: A grid chart colored by a value across two categories.
- Cross-filtering: Linked charts where selecting data in one filters all the others.
Sample question
You want to see whether most video clips in a dataset are short. Which chart fits?
Show the answer
Answer: A histogram of clip durations
A histogram shows how often values fall in each range. NVIDIA's example used one to show most bike trips were under 20 minutes.
What NVIDIA says (2)
“An hvPlot histogram of trip durations generated with the Divvy dataset”
“In this instance, the vast majority of bike trips appear under 20 minutes.”
Practice 5.3 (4 questions) Full Data Analysis and Visualization guide
← 5.2 Attention maps · 5.4 Relationships, trends and confounders →