Skip to main content
100%

Area Chart with Brushing

✓ Published3🌍 Public
Ffloresh
Last edited Feb 5, 2019
Created on Jan 21, 2019
Forked from Making a Bar Chart

This area chart displays monthly S&P 500 price data from a CSV file, with a focus chart and a smaller context chart below it. Users can brush along the context chart’s x-axis to zoom into a specific time range, updating the main chart’s domain. The visualization uses D3 v5’s `brushX`, `scaleTime`, `scaleLinear`, and `area` generators, with SVG rendering. The main area path is clipped to prevent overflow during brushing, and the context chart mirrors the full dataset for navigation.

AI-generated description
MIT Licensed

Similar vizzes