Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Overlapped Barchart8

Public visualization

Viewing a saved revision (read-only)

3141fc450a4d4a3fbff96cdea5d1059c

Overlapped Barchart8

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

This example visualizes survey data as a time-series line chart overlaid with semi-transparent rectangle bars representing each survey period. It uses D3’s scaleTime and scaleLinear for axes and a line generator for the trend line. The React app fetches `timeperiodv2.json` and displays tooltips on mouseover, with animated opacity transitions, highlighting each period’s name and value. SVG rendering draws the bars, axes with ticks, and labels directly above each bar.

AI-generated description

React Starter code.