Skip to main content
100%

Activity_6

✓ Published0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024

This example demonstrates a minimal VizHub project that displays a centered "Hello VizHub!" message using D3.js version 5 and local ES6 modules. The code imports the `select` function from the D3 library to query the HTML div element, and imports a custom message string from a local module through ES6 syntax. The page renders the text with a large font size defined in the accompanying CSS file, showcasing how to combine D3 selections, modular JavaScript, and styling in a simple visualization setup.

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