🌍 Public
Viewing a saved revision (read-only)
fcc64bbf47a34b63a11fdb9a3b48e3bd
Scatter Plot with Color
This scatter plot visualizes the Iris flower dataset, plotting petal length against sepal width. Each point is colored according to the species of the flower, using a categorical color scale from `d3.scaleOrdinal`. The visualization is built with React and rendered as SVG, using `d3.scaleLinear` for the axes and data mapping. Hovering over a point reveals the petal length via a tooltip using the SVG `<title>` element. The data is loaded asynchronously from a CSV file using `d3.csv`.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.