Skip to main content
100%

reusable d3 scatterplot

✓ Published2🌍 Public
Kktshim@snu.ac.kr
Last edited Nov 5, 2022
Created on Nov 5, 2022
Forked from d3 scatterplot

This example shows a reusable D3 scatterplot of Iris flower measurements, plotting petal length against sepal length as circles with ordinal axes. The visualization is implemented as a custom D3 module using `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, with data loaded via `d3.csv` from a GitHub gist. The chart’s dimensions, margins, and radius are configurable through chained setter functions, and it renders in an SVG with a React starter template. The code demonstrates a modular, data-joins approach where circles are appended to the selection.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes