Skip to main content
100%

Fork of Fork of Hello VizHub

✓ Published6🌍 Public
Aaparnachalumuri@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024

This example demonstrates a minimal D3.js setup that displays the text "Hello VizHub!" centered on a webpage. It loads D3 v5.16.0 from the UNPKG CDN and uses the `select` function to target the `#message` div, setting its text content. The project also shows how to import from local ES6 modules, with a separate `myMessage.js` file exporting the message string, and includes basic CSS styling for the text.

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