Uganda Budget
✓ Published1🌍 Public
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 descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed