Skip to main content
100%

Activity_8_Task8

✓ Published0🌍 Public
Vvineelaramulapalli32
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This example displays a large, centered "Hello VizHub!" message rendered in the browser, demonstrating basic D3.js usage and ES6 module imports. The code imports the `select` function from D3 v5 and a `message` string from a local `myMessage.js` module, then sets the text content of the `#message` div. Styling is applied via an external `styles.css` file, which centers the text and sets its font size to 12em, while the HTML page loads D3 from a CDN before executing the bundled JavaScript.

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