Skip to main content
100%

Fork of d3 and scatterplot seperated and exported

✓ Published0🌍 Public
Pparag776
Last edited Feb 3, 2023
Created on Feb 3, 2023
Forked from d3 and scatterplot

This example creates a scatter plot from the classic Iris dataset, loading the CSV data from a GitHub gist. The chart is built as a reusable `ScatterPlot` class using d3.v7's `scaleLinear` for coordinate mapping and `axisLeft`/`axisBottom` for axes. The SVG visualization is appended to the page body with dimensions set to the full window size. Notably, the core plotting logic is commented out, so the example demonstrates the structure of separating data fetching and chart construction without rendering the actual points.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes