Skip to main content
100%

Cars scatter plot with D3.js!

✓ Published0🌍 Public
CCharlotte1891
Last edited Aug 14, 2020
Created on Aug 11, 2020

This scatter plot visualizes the relationship between engine cylinders and horsepower for a dataset of cars, with each point representing a vehicle. The D3.js code uses `scaleLinear` to map the data domains to pixel coordinates and renders circles via SVG. Axes are generated with `axisBottom` and `axisLeft`, and gridlines are created through tick sizes. The chart loads its data from a CSV file using `csv()` from D3 v5.

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.

MIT Licensed

Similar vizzes