Skip to main content
100%

Cars Scatter

✓ Published1🌍 Public
TTrey Billing
Last edited Aug 23, 2019
Created on Aug 23, 2019
Forked from Customizing Axes

This scatter plot visualizes the relationship between fuel efficiency (MPG) and horsepower for a dataset of cars, with each car represented as a semi-transparent circle. The chart uses D3 v5’s scaleLinear, extent, axisLeft, and axisBottom APIs to map data values to SVG coordinates, with gridlines and axis labels. The data is loaded asynchronously from an external CSV file via d3.csv, and numeric fields are parsed before rendering. Styling is applied through CSS classes for circles and text elements.

AI-generated description

Some data about cars.

MIT Licensed

Similar vizzes