Skip to main content
100%

Polished Scatter Plot with Menus

✓ Published0🌍 Public
Bbsolomon103
Last edited Jan 13, 2022
Created on Jan 13, 2022

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements across species. Dropdown menus dynamically change the X and Y axes, redrawing the SVG circles and axis labels in real time. Built with React and D3 v5, the visualization uses `scaleLinear` for axis scaling, `extent` for domain calculation, and custom `AxisBottom`, `AxisLeft`, and `Marks` components for rendering. Data is loaded asynchronously via `csv()` from a remote URL, with tooltips showing formatted values. The chart includes styled tick marks, axis labels, and a clean Poppins font.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes