🌍 Public
Farmer's suicides in Maharashtra: Jan-Mar-Year 2018
This interactive pie chart visualizes farmer suicide counts across five regions of Maharashtra for January–March 2018, with Vidarbha and Marathwada showing the highest values. The D3 v5 visualization uses `d3.pie` and `d3.arc` to generate animated SVG slices that fade in sequentially via `transition.attr` over two seconds. Hovering over the legend highlights the corresponding arc, while `d3.scaleOrdinal` assigns distinct colors to each region. Regional labels and counts appear as tooltips on each slice, and the JSON data is loaded asynchronously with `d3.json`.
AI-generated descriptionMIT Licensed








Comments
Sign in to join the discussion.