🌍 Public
Month-wise Casualities
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.