Skip to main content
100%

task 9 and 10

✓ Published0🌍 Public
Sskykarthik97@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Hello VizHub

This example demonstrates how to load D3 via UNPKG and use ES6 modules with VizHub. It imports the `select` function from D3 and a custom `message` from a local module, then sets the text of a `#message` div to "Hello VizHub!". The code uses `d3.select` to manipulate the DOM element and applies styling from an external CSS file. The visualization is minimal, showing only the text message centered on the page.

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