Skip to main content
100%

Uganda Budget

✓ Published1🌍 Public
Ssavalifestus75@gmail.com
Last edited Jan 4, 2024
Created on Jan 4, 2024
Forked from Uganda Budget

A static bar chart displays the Uganda budget, comparing two named categories, project and laptop, with values 50 and 40. The visualization uses D3.js v7 to bind the data object to list items via `d3.select`, `selectAll`, `data`, and `enter`, appending list elements that render the numeric values. The page also includes an empty SVG for a smiley face, but the code only populates the list. The example demonstrates fundamental DOM manipulation with direct data binding, rendering the budget figures as text items rather than geometric shapes.

AI-generated description

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

MIT Licensed

Similar vizzes