Skip to main content
100%

Fork of Polished Scatter Plot with Menus

✓ Published0🌍 Public
CCheng Tang
Last edited Oct 31, 2022
Created on Oct 30, 2022

This interactive scatter plot displays the Iris dataset, with menus that let the user select which attributes map to the X and Y axes, dynamically updating the visualization. The plot renders 150 circles as SVG marks, using D3’s `scaleLinear` for axis scaling and `extent` for domain calculation, while React manages state for the chosen attributes. Axis ticks are generated by D3’s scale `ticks` method, and tooltips appear via SVG `<title>` elements. The data is loaded asynchronously with D3’s `csv` function from a GitHub-hosted CSV file.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes