Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Month-wise Casualities

Public visualization

Month-wise Casualities

0 stars1🌍 Public
LLakshmi Keerthi
Last edited Apr 22, 2024
Created on Apr 22, 2024

This visualization displays monthly road accident casualties across a 24-month period, with a bar chart where each bar represents the total casualties for a given month and year. An interactive noUiSlider range control allows users to select a specific start and end month, dynamically filtering the displayed bars and updating the total casualty count accordingly. The chart uses D3.js version 6 with an SVG rendering approach, employing `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.rollups` to aggregate the casualty data from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed