Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates a minimal D3.js setup within the VizHub environment. It uses `d3.select` from the D3 v5 library to locate a specific HTML element and set its text content. The text string is imported from a separate local ES6 module, illustrating modular code structure. The page’s visual style, including centered, large text, is defined in an external CSS file. The example serves as a basic template for combining external libraries, local modules, and styling in a D3-based visualization project.
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.
MIT Licensed