Skip to main content
100%

Untitled Document

✓ Published0🌍 Public
GGerardoFurtado
Last edited Apr 22, 2019
Created on Apr 22, 2019

This interactive D3.js visualization displays a grouped bar chart showing the frequency of drug categories (1-6) across different survey categories (2-5), with each group further broken down into colored sub-bars. The chart uses d3.scaleBand for the grouped axes, d3.scaleOrdinal for color encoding, and d3.nest for hierarchical data aggregation. Bars animate from zero to their final heights using randomized delays with SVG transitions. The visualization is built on D3 v4 and Bootstrap, reading data from a local CSV file.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/lydiawawa/'>lydiawawa</a>'s block: <a href='http://bl.ocks.org/lydiawawa/9efb5df76c08640316efbef702437db7'>group bar</a>

forked from <a href='http://bl.ocks.org/GerardoFurtado/'>GerardoFurtado</a>'s block: <a href='http://bl.ocks.org/GerardoFurtado/f4c825a5f8c92e87cc5a81591ba1f7c9'>group bar</a>

forked from <a href='http://bl.ocks.org/lydiawawa/'>lydiawawa</a>'s block: <a href='http://bl.ocks.org/lydiawawa/970146c168b2acdcb3598164bb41c2db'>group bar</a>

mit Licensed

Similar vizzes