Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Overlapped Barchart5

Public visualization

Overlapped Barchart5

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

This example visualizes health survey data across time periods using a series of overlapping, semi-transparent rectangles. The bars are positioned along a time axis from the start to the end date of each survey, with their height reflecting the reported percentage value. A red line connects the midpoints of these intervals to highlight the trend over the years. The visualization is rendered as an SVG using React and D3.js v6, specifically employing `d3.scaleTime`, `d3.scaleLinear`, `d3.line`, and JSON data loading via `d3.json`.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed