Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BJP price chart

Public visualization

Viewing a saved revision (read-only)

47e7ef2fde834b8da15cd11a38f55a81

BJP price chart

0 stars0🌍 Public
SSagar Malviya
Last edited Jun 7, 2019
Created on Jun 7, 2019
Forked from Hello VizHub

This chart shows the change in petrol prices across Indian election years from 2004 to 2018, overlaid as both a red line and bars on the same axes. The visualization combines a line series with a bar series using dimple.js, built on top of d3.v4, with data loaded from a CSV file via `d3.csv`. The SVG chart is rendered with a fixed width and height, and the red line color is assigned both through the chart’s `assignColor` method and a CSS class selector.

AI-generated description

An example showing the capabilities of VizHub.