Skip to main content
100%

scatter plot with menu

✓ Published1🌍 Public
Ppei9223
Last edited Sep 17, 2022
Created on Sep 17, 2022
Forked from cars scatter plot

This scatter plot displays the relationship between horsepower and weight for cars in the auto-mpg dataset, with each semi-transparent steelblue circle representing a vehicle. The visualization uses D3 v5’s scaleLinear, axisBottom, and axisLeft to construct the axes, while axis tick lines extend across the plot to create a grid. The data is loaded as CSV via d3.csv and parsed into numeric values before rendering as SVG circles. The chart includes rotated axis labels and a title, though the menu referenced in the title is not implemented in the shown code.

AI-generated description

this bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes