Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to set up a minimal D3.js project within VizHub, showing a simple text message displayed in the center of the page. It loads D3 v5 from a CDN and uses the `select` API to update the content of an HTML element. The code also illustrates ES6 module imports, pulling a string from a local module and rendering it. A small CSS file centers the message with a large font size, while the HTML structure provides the container for the output.
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