Posts Line Charts

Line Charts

Use the dataset provided in the file earthquakes.csv to create line charts.

Adding symbols and scaling symbol sizes

Modify the code to visualize each data point in the chart as a solid circle, whose size is proportional to “Estimated Deaths”. Use a good scaling coefficient (your choice) to make the chart legible, visually attractive and meaningful.

Axis scales in D3

Hint: You may need to carefully set the scale domain to handle the 0s in data.

This post is licensed under CC BY 4.0 by the author.

Trending Tags