Skip to main content
100%

Activity6_question1

✓ Published0🌍 Public
1188r1a0559@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from tutorial1

This example demonstrates a minimal D3.js setup within the VizHub environment, showing how to load D3 from a CDN and render text into a page. The code imports the `select` function from D3 and uses it to set the text content of a div element, while also displaying a local ES6 module import. It illustrates basic DOM manipulation with D3’s selection API, along with optional CSS styling. The example primarily serves as a template for understanding D3 imports, local module structure, and simple SVG-less rendering.

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