Skip to main content
100%

Exploración1

✓ Published0🌍 Public
663anp3ca
Last edited Sep 24, 2018
Created on Sep 21, 2018

This example visualizes a dataset of yearly counts as a circular bubble chart, where each circle’s size encodes a numeric value and its color represents a category derived from the data’s ID. The visualization uses D3.js v5 to load a CSV file with `d3.csv`, then applies the `d3.pack` layout to compute circle positions and radii, with `d3.hierarchy` structuring the data. Each leaf node is drawn as an SVG `<circle>` with a fill color from `d3.scaleOrdinal(d3.schemeCategory20c)`, and text labels are added with clipping paths to keep them inside the circles. The chart also includes tooltips via `<title>` elements showing the exact value for each circle.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/Franramy/'>Franramy</a>'s block: <a href='http://bl.ocks.org/Franramy/4c08924a93960c11d2f637b0af219ade'>Exploración1</a>

forked from <a href='http://bl.ocks.org/63anp3ca/'>63anp3ca</a>'s block: <a href='http://bl.ocks.org/63anp3ca/628af828c666aa34b630c0064cf322c3'>Exploración1</a>

mit Licensed

Similar vizzes