Skip to main content
100%

Bar Chart with ReactiveModel

✓ Published0🌍 Public
CCurran Kelleher
Last edited Sep 30, 2016
Created on Sep 26, 2016

This example demonstrates a bar chart built with the ReactiveModel library, which manages a reactive data flow through the D3.js v4 API. The chart renders letter-frequency data from a CSV file, using SVG elements and animated transitions that respond to changes in the underlying model. The code defines reusable functions for SVG sizing, margin conventions, data columns, linear and band scales, and axes, with the reactive model automatically updating the visualization when properties change. The bar chart fills the viewport and includes grid lines and labeled axes, with animation applied during updates.

AI-generated description

A dynamic scatter plot of Baseball data that uses ReactiveModel.

Inspired by Baseball Scatterplot.

Forked from Responsive Axes with ReactiveModel.

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/aff67b589d0f775a6a7b75f94a05fb14'>Dynamic Baseball Scatter Plot</a>

mit Licensed

Similar vizzes