Skip to main content
100%

Scatter Plot with Import Maps

✓ Published1🌍 Public
CCurran Kelleher
Last edited Oct 31, 2021
Created on Oct 26, 2021
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for automobiles, with each circle representing a vehicle from the auto-mpg dataset. The code uses D3 modules loaded via import maps, including d3-selection, d3-fetch, d3-scale, d3-array, and d3-axis, to fetch CSV data, create linear scales, and render SVG circles and axes. The visualization fills the browser window, with axes labeled through d3-axis and data mapped from the CSV file fetched from a remote URL.

AI-generated description

Scatter plot with D3.

Makes use of import maps

MIT Licensed

Similar vizzes