Fork of HTML Starter
✓ Published0🌍 Public
This area chart visualizes the average height of flowers across three size categories—small, medium, and large—from the first 120 rows of the Flower Dataset. The code uses d3.csv to load the data, d3.rollups and d3.mean to aggregate average heights, and d3.scalePoint with d3.scaleLinear to map the categorical size labels and continuous height values. The visualization renders an SVG area and line path using d3.area and d3.line with a monotone curve, plus circle elements for data points and d3.axisBottom and d3.axisLeft for the axes.
AI-generated descriptionMIT Licensed