Skip to main content
100%

Assignment 6 - Q3

✓ Published0🌍 Public
AAKSHAY
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from Assignment 6 - Q2

This visualization of the Iris dataset presents two complementary charts: a multi-series line chart tracks sepal length, sepal width, and petal length across all 150 samples, while a combined bar and line chart displays species counts alongside average petal width. The code uses D3.js v7 with SVG rendering, employing `d3.csv` to load data, `d3.line` for the line paths, and `d3.rollups` to aggregate species statistics. Hover effects on bars and custom color schemes enhance interactivity.

AI-generated description

Iris Dataset Visualizations

This project contains two D3.js visualizations of the famous Iris dataset:

  1. Multi-Series Line Chart: Displays sepal length, sepal width, and petal length measurements across all 150 samples
  2. Combined Bar + Line Chart: Shows species count as bars and average petal width as a line

Features

  • Responsive design with clean styling
  • Interactive elements with hover effects
  • Custom color schemes
  • Clear axis labels and legends
  • Responsive visualizations

Technologies Used

  • D3.js v7
  • HTML5
  • CSS3

Data Source

The Iris dataset is loaded from: https://raw.githubusercontent.com/uiuc-cse/data-fa14/gh-pages/data/iris.csv

MIT Licensed

Similar vizzes