🌍 Public
Viewing a saved revision (read-only)
91dd5993428e464783a8b8ef12565359
Scatter plot with colors
This example visualizes the Iris dataset, plotting petal length against sepal width for individual flowers. Each point is colored by species using a categorical color scale. The visualization is built with React and D3 v5, using `scaleLinear` to map data to coordinates and `scaleOrdinal` for species colors. Axes are rendered as SVG elements, with numeric formatting applied to tick labels via D3’s `format` function.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.