Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

fork car report

Public visualization

fork car report

0 stars0🌍 Public
SSharon
Last edited May 3, 2023
Created on May 3, 2023

This visualization displays the make of the first car in a static JSON dataset using fundamental DOM manipulation. The code parses an embedded array of car objects, selects the first entry, and injects its manufacturer name into an HTML `<pre>` element via `document.getElementById` and `textContent`. The example relies on D3.js only conceptually, with the actual operation performed through vanilla JavaScript, demonstrating a minimal pipeline from data parsing to page rendering.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed