Skip to main content
100%

Fork of Question 4: Multi-Series Chart (Bar + Line)

✓ Published0🌍 Public
Ssravya7136@gmail.com
Last edited Oct 19, 2025
Created on Oct 19, 2025

This fork of “Question 4” presents two SVG charts built with D3 v7. The first is a multi-series line chart with circular markers, displaying average sepal and petal measurements for three Iris species. The second is a combined bar-and-line chart that juxtaposes the same aggregated data, using the `d3.scalePoint` and `d3.scaleLinear` APIs for positioning. Gridlines, axes, legends, and a title are generated with D3’s `axisBottom` and `axisLeft` methods, while smooth lines use `d3.curveMonotoneX`. The data consists of precomputed averages from the Iris dataset.

AI-generated description
MIT Licensed

Similar vizzes