Smokelicious barchart!
✓ Published1🌍 Public
This bar chart shows the number of pipe-related museum objects from different world regions, with each bar colored by pipe type using a D3 ordinal scale. The visualization displays five categories—including tobacco pipes, water pipes, and opium pipes—across continents, with hover effects increasing bar opacity. It loads SPARQL query results from the Network Digital Heritage dataset via d3.json, then renders SVG rectangles using d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis. Axes are generated with d3.axisLeft and d3.axisBottom, while d3.max and .nice() scale the value range.
AI-generated descriptionMIT Licensed