Skip to main content
100%

Fork of Fork of Scatter Plot Reusable - ICE7

✓ Published0🌍 Public
118121a1545
Last edited Oct 24, 2025
Created on Oct 24, 2025

This example presents a reusable scatter plot that visualizes the relationship between car weight and horsepower, using data from a CSV file. The plot displays each car as a point with labeled axes for both variables. The implementation uses D3 v7, demonstrating a modular approach with a scatterPlot function imported from a separate JavaScript module. The main script parses numeric values from the cars dataset and applies the reusable chart to an SVG element, with the chart configured to map weight to the x-axis and horsepower to the y-axis.

AI-generated description
MIT Licensed

Similar vizzes