Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Overlapped Barchart2

Public visualization

Fork of Overlapped Barchart2

0 stars1🌍 Public
AAnimesh Nautiyal
Last edited Apr 22, 2021
Created on Apr 22, 2021

This example uses a React component with D3 to visualize survey period overlaps as a horizontal time-series bar chart. Each rectangle’s x-position and width map to a survey’s start and end dates using `d3.scaleTime`, while its height represents the reported percentage via `d3.scaleLinear`. The SVG bars are drawn from `timeperiodv2.json`, which provides start and end dates parsed with `d3.timeParse`. The chart displays five national surveys from India, showing how their data collection periods overlap across time.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed