Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

DUPA

Public visualization

DUPA

0 stars0๐ŸŒ Public
BBromBor
Last edited Mar 1, 2021
Created on Feb 28, 2021
Forked from Hello VizHub

This example demonstrates how to display text from a local ES6 module on a webpage. It uses a simple JavaScript array of bird objects with properties like species and food, and displays a specific species name in a large font. The code imports a variable from a separate `birbs.js` file and uses DOM manipulation via `document.getElementById().textContent` to update the page. It also shows commented-out examples of using JSON parsing and array mapping, though the active code focuses on simple data extraction and 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.

Comments

Sign in to join the discussion.

MIT Licensed