Skip to main content
100%

Brush() & Filter()

✓ Published0🌍 Public
BBrightPeace
Last edited Feb 29, 2020
Created on Feb 29, 2020
Forked from Brush() & Filter()

This example demonstrates interactive brushing and filtering on a time-series area chart of stock data. The visualization renders a blue filled area with overlaid circles representing daily values, plus a red dashed line marking the average. Using D3 v5, the chart employs `d3.area()`, `d3.scaleTime()`, and `d3.axisBottom()` for SVG rendering, while mouseover tooltips display date and value details. A brush component filters data points, highlighting selected circles in green while dimming others, with CSV data loaded via `d3.csv()`. The animation and interaction rely on D3’s selection and transition APIs.

AI-generated description

Una gráfica de ejemplo para demostrar el d3.filter() c:

MIT Licensed

Similar vizzes