🌍 Public
Viewing a saved revision (read-only)
4052f4dac6d34c9ab762320a1e9af499
Arc and path lab
The Arc and path lab demonstrates a circular visualization of hierarchical data, where topics and sub-topics are positioned in a radial layout. It uses D3 v6 to render SVG shapes, including arcs generated with `d3.arc` and circles appended directly. The data is loaded from an embedded JSON file containing topic hierarchies with associated metadata like size and sentiment. The visualization adapts to the screen width, centering its elements within a responsive SVG container, and applies basic styling for orange-filled shapes and white text labels.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.