Skip to main content
100%

Brushable bar chart - Horizontal - V

✓ Published0🌍 Public
MMNoichl
Last edited Jan 5, 2018
Created on Jan 5, 2018

This horizontal bar chart displays the gross counts of 48 philosophical publications. A main chart shows all values, while a smaller mini chart contains a brushable window. Users can drag this window, click to reposition it, or adjust its size with handles to control the visible range. The main chart updates its x-axis scale to fit the largest visible bar, ensuring optimal use of space. Built with D3 v3, it uses SVG for rendering and employs `d3.behavior.zoom` for mouse-wheel scrolling over the main chart for additional navigation.

AI-generated description

This is exactly the same as version IV of the brushable horizontal bar chart, but this one has a x scale that updates to fit the largest visible bar in the available width.

For a bit more background, you can read my mini-blog about it Brushable & interactive bar chart in d3.js

forked from <a href='http://bl.ocks.org/nstrayer/'>nstrayer</a>'s block: <a href='http://bl.ocks.org/nstrayer/8e46c8f116614f628e3aaeec09167edb'>Brushable Horizontal Bar Chart - V</a>

forked from <a href='http://bl.ocks.org/jalague/'>jalague</a>'s block: <a href='http://bl.ocks.org/jalague/becbc7fe9dfc20f1eeb0bc949ca2d19c'>Brushable Horizontal Bar Chart - V</a>

forked from <a href='http://bl.ocks.org/jalague/'>jalague</a>'s block: <a href='http://bl.ocks.org/jalague/92e3995425417b4a4dc59016a9fbc415'>Brushable Horizontal Bar Chart - V</a>

Similar vizzes