Skip to main content
100%

Assignment2(area chart)

✓ Published0🌍 Public
Bbhavyasrireddy267@gmail.com
Last edited Mar 27, 2025
Created on Mar 27, 2025
Forked from HTML Starter

This area chart visualizes the relationship between fish body length and fin length, plotting fin length as a filled area above the x-axis. The data comes from a CSV file loaded via `d3.csv`, with both measurements parsed as numeric values. Using d3.v7, the chart employs `d3.area()` to generate the semi-transparent steelblue area, `d3.scaleLinear` for the x and y axes, and `d3.axisBottom` and `d3.axisLeft` for tick marks. The SVG rendering includes a title and axis labels, with data sorted by body length before the path is drawn.

AI-generated description
MIT Licensed

Similar vizzes