Skip to main content
100%

Activity 6 task 2 Q2

✓ Published0🌍 Public
Mmounikakatipally995@gmail.com
Last edited Apr 16, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example demonstrates a simple D3.js module setup that imports both external and local ES6 modules. It loads D3 v7 from UNPKG and uses the `select` function to update the text content of a `#message` div with a string imported from a local `myMessage.js` module. The page also defines a static dataset of fruit counts by month, though this data is not currently visualized. The example highlights modular JavaScript structure, including local imports, regex patterns, and a CSS-styled text output.

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