Task-8(Tutorial-4)
✓ Published1🌍 Public
This example demonstrates the basic setup of a VizHub project using D3.js. It loads D3 v5 from UNPKG and uses ES6 module imports to bring in the `select` function from D3 and a local module exporting a message string. The code selects a `div` element with an ID of "message" and sets its text content to "Hello VizHub!". The page also imports CSS from a local stylesheet that centers the message and sets its font size to 12 em.
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