Skip to main content
100%

Uganda Budget

✓ Published1🌍 Public
Ssavalifestus75@gmail.com
Last edited Jan 4, 2024
Created on Jan 3, 2024

This example demonstrates fundamental DOM manipulation with D3.js by rendering a smiley face whose eyebrows move, alongside a list representation of Uganda’s budget data. The visualization pairs an SVG face with a `<ul>` element populated using `d3.select`, `selectAll`, `data`, `enter`, and `append` to bind a simple object containing project and laptop values. The face animation relies on D3 v7’s selection and attribute methods, though the code also loads an unused older D3 version. The budget data appears as list items, showing text binding without visualization of proportions or comparison.

AI-generated description

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

MIT Licensed

Similar vizzes