Skip to main content
100%

Location Vs new_cases

✓ Published0🌍 Public
Ppemmasaniprudhvinadh
Last edited Apr 10, 2023
Created on Apr 10, 2023

This stacked bar chart visualizes the distribution of new COVID-19 cases across locations, with each bar segmented by ISO code. The chart uses D3.js for rendering, including d3.layout.stack for stacking, d3.scale.ordinal for the y-axis, and d3.legend for the color legend. Hovering over a bar displays tooltips via d3-tip, while hovering over legend entries highlights corresponding regions by fading non-selected bars. Data comes from the Global Religious Landscape dataset, though the title and columns suggest COVID-19 case counts, rendered as an SVG animation.

AI-generated description

Stacked bar chart showing estimated religion breakdown.

Interactions:

  • Hover over the bars for tool tips.
  • Hover over the legend to highlight religions.

Based on an example from the tutorial Splitting Charts. Derived from the following examples published on bl.ocks.org:

Estimated 2010 religion breakdown of the most populous 20 countries.

Data is from The Global Religious Landscape by Pew Research, generated using this processing script.

TODO: Upgrade dependencies to latest D3 & friends.

MIT Licensed

Similar vizzes