Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pree

Public visualization

Viewing a saved revision (read-only)

c3a6707cff4c4bee87692f641ef3d71b

pree

0 stars0🌍 Public
Ppreethamkesa
Last edited Mar 27, 2022
Created on Mar 27, 2022

This example displays the Iris dataset as a scatter plot, with petal width on the x-axis and sepal length on the y-axis, with each species colored distinctly (green, pink, blue). Using D3 version 6.7.0, it dynamically re-renders the plot by cycling through different data columns as the x-axis variable, showing how the same points reposition along the axes. The visualization uses D3’s `scaleLinear`, `axisLeft`, and `axisBottom` to draw the plot, with SVG circles for data marks and a black background for high contrast.

AI-generated description