Scatter Plot with Import Maps
✓ Published1🌍 Public
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 descriptionScatter plot with D3.
Makes use of import maps
MIT Licensed