Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of d3 and scatterplot seperated and exported

Public visualization

Viewing a saved revision (read-only)

e16cec48c84841a6ab0da30366adb2c4

Fork of d3 and scatterplot seperated and exported

0 stars0🌍 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.