Skip to main content
100%

Cars Scatter plot

✓ Published1🌍 Public
NNathan Neelis
Last edited Nov 5, 2020
Created on Nov 5, 2020
Forked from Scatter plot

This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars. The D3 v5 code loads an auto-mpg dataset from a CSV file and maps the numerical attributes to positions on linear scales. The visualization renders as an SVG, with lime green, semi-transparent circles representing each car, and includes labeled axes and a title. The implementation leverages D3's `select`, `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, and `extent` functions to build the chart.

AI-generated description
<!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/NlBt-7PuaLk?autoplay=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> -->
MIT Licensed

Similar vizzes