Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bubbles with Json Data

Public visualization

Viewing a saved revision (read-only)

77ae9bb9e36c4799b62dc5ceb605cd7e

Bubbles with Json Data

1 star1🌍 Public
RRenan Barbosa
Last edited Apr 5, 2020
Created on Apr 4, 2020

This example visualizes a small dataset of two categories, "Reclamantes" and "Fases Processuais," as colored bubbles whose sizes reflect their respective counts. Using the D3.js library (v5) within a React framework, the code applies `d3.pack` for circle packing and `d3.hierarchy` to structure the data. The resulting SVG is rendered into an HTML page, with each bubble labeled and interactive via click events.

AI-generated description

A bare minimum HTML page.

See also React Starter.