Skip to main content
100%

Activity 6

✓ Published0🌍 Public
SSumanthnaidu213
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example demonstrates how to set up a minimal VizHub project using ES6 modules and D3. It displays the text "Hello VizHub!" centered on the page by using `select` from D3 to target a div and set its content. The message string is imported from a local ES6 module, showing how to structure reusable code. The project loads D3 v5 from UNPKG and includes a CSS file for styling.

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