Skip to main content
100%

Let's build a bar chart - d3fc version

✓ Published0🌍 Public
CColinEberhardt
Last edited Dec 5, 2016
Created on Dec 5, 2016

This example shows the frequency of each letter in the English language as a set of steel-blue bars on a Cartesian chart. It uses the d3fc library to construct a bar series with a point scale on the x-axis and a linear scale on the y-axis, which is formatted as percentages. The chart’s y-domain is computed via `fc.extentLinear` with padding and an explicit zero inclusion. Data is loaded from a tab-separated file using `d3.tsv`, and the chart is rendered as SVG by `fc.chartSvgCartesian`.

AI-generated description

Similar vizzes