pree
✓ Published0🌍 Public
Ppreethamkesa
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE - 7 Reusable Scatter Plot Maanas Katta
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 descriptionMIT Licensed