Tell us what works and what could be better. We read every submission.
@afdgoris·2 public vizzes
This example displays the raw contents of the iris dataset as a JSON object in a code block on the page. It loads the CSV file using d3.csv, then converts the parsed data to a formatted JSON string and appends it to the body within a pre element. The visualization relies on D3 v4’s CSV parsing and DOM manipulation methods, with no graphical chart or interactive elements.
This visualization renders a static, flat scene of a house and landscape using SVG shapes in D3 v4. It shows a green ground, a house with an orange roof and brown door, a yellow sun, and a red triangular roof peak, all composed of rectangles, circles, and a path. Three small white-and-black grid patterns (likely windows) are placed via `<g>` transforms with translated coordinates. The code directly manipulates SVG elements with hardcoded style attributes, using no data binding or dynamic D3 APIs—only the core library for element selection and creation.