Skip to main content
100%

Activity8_question4

✓ Published0🌍 Public
HHarika Metta
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Task8

This interactive bubble chart visualizes kinase panel data, grouping 25 categories by origin, disease area, and kinase family. Built with React and D3 v7, the visualization uses a hierarchical packing layout (`d3.pack`) to position circles, with circle radii scaled logarithmically from the data values. The chart displays category labels within each bubble and includes a color legend for quick reference. Data is loaded from a CSV file via D3's `csv` parser, and the component updates reactively when the underlying dataset changes.

AI-generated description

Code snippet for a React + D3 visualization that includes:

  • D3 as a React Component Example - CDN connections for D3, ReactDOM, and React
  • Simple boilerplate for React
  • Width, height, and margin variables Use the useData hook to retrieve a CSV URL.
  • A component called {VizContainer} that abstracts SVG/group container components
    • Complies with the margin standard
MIT Licensed

Similar vizzes