Skip to main content
100%

car scatter plot

✓ Published0🌍 Public
Gginnyching
Last edited Oct 1, 2022
Created on Oct 1, 2022

This scatter plot visualizes the relationship between engine cylinders and horsepower for a dataset of automobiles. The D3 v5 code loads CSV data from an external URL, scales the values linearly, and renders each car as a semi-transparent steelblue circle. Customized axes include tick formatting and labels for both the x-axis (cylinders) and y-axis (horsepower), with a title displayed at the top. The SVG rendering approach draws the circles within a margin-adjusted group, using D3’s scaleLinear, axisBottom, and axisLeft APIs.

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.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes