Skip to main content
100%

Proof of Concept: Interactive Brush (CS 573 Assignment #8.1)

✓ Published0🌍 Public
AAlex Pietrick
Last edited Oct 21, 2021
Created on Oct 21, 2021

This example demonstrates a proof-of-concept interactive brush applied to an area chart of honey production across U.S. states over time. The visualization shows aggregate production values by year, with a focus chart above and a smaller context chart below. Users can brush along the x-axis in the context chart to zoom and pan the focus chart’s time range. The code uses D3 v5 APIs including `d3.brushX`, `d3.area`, and `d3.scaleTime` to implement the linked brushing and zooming behavior.

AI-generated description

Proof of Concept: Interactive Brush

This is a rough area graph based on my Honey Production in the United States Dataset created with the purpose of learning how to use d3-brush.

Brushing will be used in my map visual; however, I'm currently having some technical issues with getting the code to run properly.

MIT Licensed

Similar vizzes