Skip to main content
100%

S ucide For Selected Country

✓ Published0🌍 Public
PPakcheera Choppradit
Last edited Oct 23, 2020
Created on Oct 22, 2020

This interactive visualization displays suicide rates by year for a user-selected country, using data from a CSV file covering 1979 to 2016. A dropdown menu triggers an update of the line chart, which uses d3.scaleLinear, d3.scaleOrdinal, d3.line, and d3.curveBasis for rendering the smoothed lines. The SVG includes axes with d3.axisBottom and d3.axisLeft, a color legend for the selected country, and a title, all rendered using d3.select and d3.append. The visualization uses React for dropdown interaction and d3.v5 for the core charting logic.

AI-generated description
MIT Licensed

Similar vizzes