Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot Simple

Public visualization

Viewing a saved revision (read-only)

67c8bbe49d734c1a908feb0e3d05928f

Fork of Scatter Plot Simple

0 stars0🌍 Public
AAsherpranayp
Last edited Mar 10, 2023
Created on Mar 10, 2023

This example visualizes the classic Iris Dataset as a scatter plot, showing petal length versus sepal length for 150 flowers across three species. The visualization uses D3 v7 to load the CSV data via `csvParse`, and the `scatterPlot` function constructs linear scales with `scaleLinear` and `extent` to map data values to screen positions. Each data point is rendered as a circle using D3’s data join pattern, though the plot omits axes, focusing purely on the spatial distribution of the points. The chart fills the entire browser window dynamically.

AI-generated description

A scatter plot of the Iris Dataset with no axes.