Activity 6
✓ Published1🌍 Public
This example demonstrates how to set up a minimal VizHub project with D3.js, displaying the text "Hello VizHub!" centered on the page. The code imports the `select` function from D3 via UNPKG and a local ES6 module exporting a message string. It uses `select('#message').text(message)` to update the DOM, with styling applied through an external CSS file for large centered typography. The project illustrates basic module imports, D3 selection, and CSS integration in a single-page setup.
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