Skip to main content
100%

Making a Scatter Plot

✓ Published0🌍 Public
Hhung2606
Last edited Oct 15, 2021
Created on Oct 15, 2021
Forked from Stylized Bar Chart

This example displays a scatter plot of Iris flower measurements, mapping sepal length on the x-axis and sepal width on the y-axis. The visualization loads data from a CSV file using D3’s `csv` function and renders circles as SVG marks positioned with `scaleLinear` scales. React components structure the axes and marks, while D3’s `format` helper and `extent` method compute tick labels and scale domains. The chart includes labeled axes and tooltips via SVG `<title>` elements, with data sourced from the standard Iris dataset.

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