Skip to main content
100%

Activity6

✓ Published0🌍 Public
BBibek Lamsal
Last edited Apr 17, 2024
Created on Apr 17, 2024

This example demonstrates the basic setup of a VizHub project, displaying a simple "Hello VizHub!" message in the center of the page using D3 v5. It imports the `select` function from D3 via UNPKG and a local ES6 module that exports the message string. The rendering approach uses `select('#message').text(message)` to set the div’s content, with styling applied via a linked CSS file.

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