Skip to main content
100%

JS playground

✓ Published0🌍 Public
AAndre J Denais
Last edited Jun 4, 2021
Created on Jun 3, 2021
Forked from JS in HTML

This example demonstrates a minimal JavaScript playground embedded directly in an HTML page, printing “Hello” combined with imported text to the browser console. It shows how D3 v6’s `select` and `scaleLinear` modules are imported, alongside custom local modules that export constants and default values. The page renders large static text (“JS in HTML”) and relies on separate `script.js` and `bundle.js` files, with the latter representing VizHub’s automatic bundling. The code highlights modular ES6 import/export syntax and debug output via `console.log`, with no interactive or data-driven visual elements.

AI-generated description

some notes from Get it Right in Black and White Episode 6

MIT Licensed

Similar vizzes