Skip to main content
100%

Cars Scatterplot

✓ Published0🌍 Public
Vvsapro
Last edited Mar 22, 2023
Created on Mar 22, 2023

This scatterplot displays the relationship between vehicle weight and horsepower for a dataset of cars. Each circle represents a car, with its position determined by these two measurements using D3’s `scaleLinear` and `extent` functions. The axes are customized with tick labels formatted via `format`, and the plot includes axis titles and a main title. Data is loaded from a CSV file using `csv`, and the visualization is rendered as SVG elements. The styling uses semi-transparent steelblue circles, while axis labels and ticks are sized and colored through CSS.

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