Skip to main content
100%

Untitled Document

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

This example visualizes the distribution of drug categories and scores from a CSV dataset as an animated, interactive bar chart. Using D3 v4 with SVG rendering, the chart displays grouped bars for each drug category, with the bars transitioning smoothly when toggling between views. The data, loaded from drug1.csv, maps the s_category values on the x-axis and drug_cat values on the y-axis, with the animation providing a dynamic comparison of the categories. The visualization is built with D3.js and rendered as scalable vector graphics, allowing for crisp, responsive bars that update with user interaction.

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 final</a>

forked from <a href='http://bl.ocks.org/lydiawawa/'>lydiawawa</a>'s block: <a href='http://bl.ocks.org/lydiawawa/261aebe55bef8b556d257f3693cca37e'>group bar with toggle</a>

mit Licensed

Similar vizzes