Skip to main content
100%

CPSC 436V Week 3 - Cars Scatterplot

✓ Published2🌍 Public
JJordan Chiu
Last edited Jan 23, 2020
Created on Jan 23, 2020

This scatterplot visualizes the relationship between fuel efficiency (MPG) and vehicle weight for a dataset of cars, with each circle representing an individual car. The x-axis shows MPG values and the y-axis displays weight, using opacity to suggest overlapping points. The visualization is built with D3 v5, employing `scaleLinear`, `extent`, `axisBottom`, and `axisLeft` to construct the axes and scales. Data is loaded asynchronously from a CSV file via `d3.csv`, with numeric values parsed before rendering the SVG circles.

AI-generated description

This bar chart shows data about cars.

MIT Licensed

Similar vizzes