Data Visualization exercises with solutions

45 practice problems from the 15 lessons of the Data Visualization course, in lesson order and from easy to hard inside each lesson. Open a problem, write your code and press Submit: the tests run in your browser and nothing is sent to a server.

15 easy problems 15 medium problems 15 hard problems

Why visualize data

3 problems · Read the lesson

Choosing the right chart

3 problems · Read the lesson

Scales, axes and nice ticks

3 problems · Read the lesson

Bar charts

3 problems · Read the lesson

Line charts and sparklines

3 problems · Read the lesson

Histograms and binning

3 problems · Read the lesson

Box plots and quartiles

3 problems · Read the lesson

Scatter plots and correlation

3 problems · Read the lesson

Aggregating data for charts

3 problems · Read the lesson

Colour and accessibility

3 problems · Read the lesson

Misleading charts

3 problems · Read the lesson

Annotation and small multiples

3 problems · Read the lesson

Visualizing time series

3 problems · Read the lesson

Drawing charts with SVG

3 problems · Read the lesson

Designing dashboards

3 problems · Read the lesson