Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
Sshreyasribearelly@gmail.com
Last edited Mar 25, 2024
Created on Mar 25, 2024

This fork of a reusable D3 scatter plot displays tree measurements—leaf width, trunk diameter, leaf length, and height—as colored circles, with species mapped to blue, red, green, or yellow. Built with D3 v6.7.0, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and SVG circles. Every two seconds, the plot cycles the x-axis variable among the four measurement columns, animating the data points’ positions. The data is loaded from a CSV file via `d3.csv` and parses numeric fields before plotting.

AI-generated description
MIT Licensed

Similar vizzes