Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Overlapped Barchart6.1

Public visualization

Viewing a saved revision (read-only)

e3c5358c61ba4136b7bc0992b5415a61

Overlapped Barchart6.1

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

This example shows a time-series bar chart overlapped with a line graph, plotting five survey data points over a roughly 15-year span. Each bar represents a survey period’s start and end dates, with its height indicating the percentage value. The red line connects the middle date of each period to its value. The visualization uses React for rendering and d3.scaleTime, d3.scaleLinear, and d3.line to generate the SVG elements. Data comes from the local JSON file `timeperiodv2.json`.

AI-generated description

React Starter code.