Skip to main content
100%

Activity6_Task 1

✓ Published0🌍 Public
UUday Vandanapu
Last edited Oct 21, 2024
Created on Oct 21, 2024

This example displays the text "Hello VizHub" centered on a blank page. It demonstrates the basic setup of a VizHub project, importing the `select` function from the D3.js library and a local ES6 module. The code uses `select('#message').text(message)` to render the text inside the `div` element. The example primarily serves as a minimal template, loading D3 from a CDN via UNPKG and structuring files for modularity.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes