Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatterplot

Public visualization

Viewing a saved revision (read-only)

2a1ed1959e7e4c5d8909b77c8225c8f3

Cars Scatterplot

0 stars0🌍 Public
GGonçalo
Last edited Jul 22, 2020
Created on Jul 22, 2020
Forked from Customizing Axes

This scatterplot displays the relationship between horsepower and weight for various car models, with each point representing a single vehicle. The visualization uses D3 v5's `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` to map the data onto an SVG canvas, with circles styled via CSS. Axes include tick marks and labels for both variables, and the title appears above the plot. The data is loaded from a remote CSV file using `d3.csv`.

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.