Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot-iris data

Public visualization

Fork of Scatter Plot-iris data

0 stars0🌍 Public
NNita
Last edited Jan 1, 2024
Created on Jan 1, 2024

This scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and sepal width to the y-axis. Each flower is rendered as a large blue circle using SVG within a React framework, with the plot area offset by margins via a group transform. The code loads data from a remote CSV file using D3’s `csv` function, converts values to numbers, and scales positions with `scaleLinear` and `extent`. The chart fills the browser window, as the body has no margin and hidden overflow.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed