Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7_q2

Public visualization

Viewing a saved revision (read-only)

6c89182c05c446bf9dcc4c24d8fd57ea

Activity 7_q2

0 stars1🌍 Public
Ssuhaibuddinahmed10@gmail.com
Last edited Dec 1, 2024
Created on Nov 2, 2024
Forked from Activity 7

This grouped bar chart compares three severe weather types—hail, tornadoes, and winds—by aggregating four damage metrics: property damage, crop loss, injuries, and fatalities. The data loads from three separate Google Drive CSV files and sums each metric per weather category. Built with d3.v7, it uses nested band scales (x0 for categories, x1 for sub-bars) and a linear y-scale, rendering SVG rectangles colored via `d3.schemeCategory10`. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, with a responsive margin-based layout.

AI-generated description