4.3 Choosing the right plot

NCA-ADS · Descriptive Analysis and Visualization (13% of the exam) · Official objective: “Selecting appropriate plots for different analysis goals”

Histograms, heat maps, map plots and cross-filtering.

Key points

  1. A histogram counts how many values fall into each range. It shows the shape of a distribution, such as most trips being short.

    What NVIDIA says (1)

    “An hvPlot histogram of trip durations generated with the Divvy dataset In this instance, the vast majority of bike trips appear under 20 minutes.”

    — Accelerated Data Analytics: A Guide to Data Visualization with RAPIDS

  2. A heat map colors a grid by a value across two categories. It makes daily and weekly patterns easy to see.

    What NVIDIA says (1)

    “An hvPlot heat map showing trips by hour and day of week, per month Adding a widget for interactivity enables scrubbing through the months to search for patterns over a full year (Figure 2).”

    — Accelerated Data Analytics: A Guide to Data Visualization with RAPIDS

  3. A hexbin chart groups nearby points into hexagon cells and colors them by count. It keeps maps readable for many points.

    What NVIDIA says (1)

    “Figure 3 shows the hexbin chart that aggregates trip start and ending locations to a manageable amount, verifying that the data is accurate to the bike share system map.”

    — Accelerated Data Analytics: A Guide to Data Visualization with RAPIDS

  4. Cross-filtering links charts so a selection in one filters the others. It replaces writing many separate groupby and query calls.

    What NVIDIA says (1)

    “Instead of creating several individual group by and query operations, a cuxfilter dashboard can simply cross-link numerous charts to quickly find patterns or anomalies (Figure 5).”

    — Accelerated Data Analytics: A Guide to Data Visualization with RAPIDS

Key terms

Sample question

You want to see how bike trip durations are distributed. Which plot fits?

Show the answer

Answer: A histogram

A histogram counts how many values fall into each range. It shows the shape of a distribution, such as most trips being short.

What NVIDIA says (1)

“An hvPlot histogram of trip durations generated with the Divvy dataset In this instance, the vast majority of bike trips appear under 20 minutes.”

— Accelerated Data Analytics: A Guide to Data Visualization with RAPIDS

Practice 4.3 (4 questions) Full Descriptive Analysis and Visualization guide

← 4.2 Visualization · 4.4 Hypothesis testing and significance →