Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World map

Public visualization

Viewing a saved revision (read-only)

e174d591e4504fcc87ed4e5f357997bc

World map

0 stars0🌍 Public
BBismark Kofi Owusu Sarfo
Last edited Oct 7, 2025
Created on Oct 7, 2025

This visualization displays the classic Iris flower dataset as a scatterplot, mapping sepal length on the x-axis against sepal width on the y-axis. Each black circle represents a single flower sample, with the plot rendered within a framed chart area using margins. Built with React and D3 v7, the code uses `d3.scaleLinear` for both axes, `d3.extent` to compute the domain from the CSV data, and `d3.axisBottom`/`d3.axisLeft` for ticks. Axis labels are added with custom text elements, and the visualization updates dynamically as the data loads.

AI-generated description