Skip to main content
100%

Activity-6

✓ Published1🌍 Public
Gganeshrajuparmalla@my.unt.edu
Last edited Apr 3, 2024
Created on Apr 3, 2024
Forked from Hello VizHub

This example demonstrates how to set up a minimal D3.js visualization within the VizHub environment, displaying the text "Hello VizHub!" prominently in the center of the page. The code imports the `select` function from D3's API and a custom string from a local ES6 module called `myMessage.js`. The text is then rendered using D3's DOM selection and manipulation capabilities, with the styling controlled through an external CSS file. The example showcases the basic integration of D3 v5 and modular 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