Skip to main content
100%

Avtivity-6-tutorial-1

✓ Published1🌍 Public
Nnaveen.dodda4321@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub project that displays the text "Hello VizHub!" centered on a blank page. It shows how to set up a D3.js visualization using version 5.16.0 loaded via UNPKG, combining a simple HTML structure with a CSS stylesheet for styling. The code imports the `select` function from the d3 module to target the `#message` div and set its text content. It also imports a custom local ES6 module, `myMessage.js`, which exports the displayed string, illustrating how to mix D3 API calls with modular JavaScript for reusable content.

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