Skip to main content
100%

ICE 6 part 2

✓ Published0🌍 Public
Aanirudhrao345@gmail.com
Last edited Oct 17, 2025
Created on Oct 17, 2025
Forked from HTML Starter

This scatter plot uses a D3.js v7 SVG animation to explore the relationship between tree height and circumference, with each circle representing a tree from a CSV dataset, colored by borough. The visualization begins with all points at radius zero, then animates them to their full size using SVG circle elements and D3's `.selectAll`, `.enter`, and `.attr` methods. Interactive mouseover and mouseout events enlarge individual dots and highlight them with a contrasting stroke. The chart uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for color mapping, and `d3.axisBottom` and `d3.axisLeft` for gridlines and tick labels.

AI-generated description
MIT Licensed

Similar vizzes