🌍 Public
Viewing a saved revision (read-only)
5b48fe302889421b8a9516e1f026cf99
introduction d3
This example demonstrates a star graph visualization built with D3.js, rendering an SVG canvas populated with nodes and edges. It shows how to load D3 v7 via CDN and use local ES6 modules to import the library. The code appends SVG elements, including rectangles and paths, to construct the graph structure. Data is hardcoded in a separate JSON file containing professor information, including names, majors, and research fields, though the visualization itself focuses on the graphical network representation. The example highlights D3's capabilities for programmatic SVG manipulation and data-driven document styling.
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.