Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Llanzosuarez
Last edited Jul 3, 2020
Created on Jul 2, 2020
Forked from Customizing Axes

This scatter plot visualizes automotive data, showing the relationship between horsepower and weight for a dataset of cars. The visualization uses a D3.js v5 implementation with SVG rendering to plot red, semi-transparent circles on a Cartesian coordinate system. The code leverages d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom to construct the scales and axes, with gridlines extending across the plot area. Data is loaded via d3.csv from an external auto-mpg dataset, and custom axis labels and a graph title are added as SVG text elements.

AI-generated description

Scatter Plot

MIT Licensed

Similar vizzes