Skip to main content
100%

ViewCircles

✓ Published0🌍 Public
KKondreddy Saikiran reddy
Last edited Apr 25, 2024
Created on Apr 24, 2024
Forked from Barchart2

This example visualizes groundnut production by state using a filtered bar chart of circles, with year-based checkbox filtering to adjust the displayed data. Built with D3 v7, it loads CSV data from a GitHub gist and uses D3’s `csv`, `scaleBand`, `scaleLinear`, `scaleOrdinal`, `rollup`, and `sum` APIs to aggregate and render the SVG output. A tooltip appears on mouseover, and the chart updates dynamically by removing and redrawing circles based on the selected years.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes