Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot Reusable - ICE7

Public visualization

Fork of Scatter Plot Reusable - ICE7

0 stars1🌍 Public
118121a1545
Last edited Oct 24, 2025
Created on Oct 24, 2025

A reusable scatter plot shows the relationship between car weight and horsepower, using a dataset loaded from a CSV file. The chart is built with D3 v7 and rendered as SVG, with axes labeled accordingly. The code defines a `scatterPlot` function that configures accessor functions for the x and y data fields, and the chart is instantiated and applied to an SVG element using `d3.select` and the chart's `.data()` method.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed