Skip to main content
100%

Vert barchart!

✓ Published0🌍 Public
NNick
Last edited Nov 16, 2019
Created on Nov 13, 2019

This visualization displays a vertical bar chart that aggregates the number of museum objects by their continent of origin, with bars colored by object type (such as "tabakspijpen" or "waterpijpen"). The chart dynamically fetches data from a SPARQL endpoint via `d3.json`, mapping the results into a barchart using `d3.scaleLinear` and `d3.scaleBand` for the y and x axes. Axes are rendered with `d3.axisLeft` and `d3.axisBottom`, while `d3.scaleOrdinal` assigns colors to each category, and rectangles are drawn in SVG with a fixed opacity.

AI-generated description
MIT Licensed

Similar vizzes