Jinsu - Bubblechart
✓ Published0🌍 Public
MMinwoo Pak
Last edited Nov 19, 2021
Created on Nov 18, 2021
This bubble chart visualizes gene panel data by category, using circle area to represent values and color to distinguish groups such as Origin, Kinase Family, and Related Disease. Built with React and D3 v7, it computes a hierarchical pack layout via `d3.pack` and `d3.hierarchy`, then renders SVG circles and labels with `d3.select` and `d3.join`. A color legend is generated from `d3.scaleOrdinal` with `d3.schemeTableau10`, and tooltips display the full id and category. The data comes from `panel_data.csv`.
AI-generated descriptionBoilerplate code for a React + D3 visualization with:
- Example of D3 as React Component
- CDN links for React, ReactDOM, and D3
- Basic React boilerplate
- Variables for width, height and margins
useDatahook to fetch a CSV URL.VizContainercomponent that:- Abstracts SVG/group container elements
- Follows the margin convention
MIT Licensed