Skip to content

ONSdigital/Charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charts

The official repository for all publication ready ONS charts. See our chart menu and service manual for more guidance on the use of these charts, and of charts more generally.

We currently maintain a separate map templates repository.

(NOTE: This repository is still a work in progress.)

If you want to make a change

Make a branch and name it something descriptive e.g. feature/new-autocomplete. Once you are happy, do a pull request and someone else will review it before it gets merged into main.

If there’s a problem with a template

Please raise an issue and the team will have a look.

Guide to updating and placing an initial commit for a chart

  • All missing charts can be found in the issues section of the repository. They will have the following format, “[descriptive chart name]: Initial Commit”.

  • If this issue does not have an active branch and you would like to update and upload the chart please create a branch and you will be responsible for updating and making a pull request for the chart.

Initial chart commit checklist

  • All initial commits of charts must must follow JavaScript ES6 standards and use D3 v6 or higher.

Charts uploaded so far

Chart.Name Preview Code README
Area stacked View </> README
Area stacked sm View </> README
Bar chart horizontal View </> README
Bar chart horizontal clustered View </> README
Bar chart horizontal clustered sm View </> README
Bar chart horizontal grouped View </> README
Bar chart horizontal grouped clustered View </> README
Bar chart horizontal sm View </> README
Bar chart horizontal sm colour View </> README
Bar chart horizontal stacked View </> README
Bar chart horizontal stacked clustered View </> README
Bar chart horizontal stacked clustered grouped View </> README
Bar chart horizontal stacked grouped View </> README
Bar chart horizontal stacked sm View </> README
Bar chart horizontal stacked with tooltip View </> README
Bar chart horizontal with dropdown View </> README
Bar chart horizontal with reference line View </> README
Bar chart horizontal with reference sm View </> README
Bar comet dot range plot View </> README
Beeswarm View </> README
Bubble chart animated View </> README
Column chart View </> README
Column chart CI bands View </> README
Column chart clustered View </> README
Column chart sm View </> README
Column chart stacked View </> README
Column chart stacked sm View </> README
Column chart stacked with line View </> README
Column chart stacked with line sm View </> README
Column chart with CI sm View </> README
Comet clustered View </> README
Comet plot View </> README
Dot plot View </> README
Dot plot with CI sm View </> README
Doughnut View </> README
Heatmap View </> README
Heatmap per column View </> README
Line chart View </> README
Line chart dropdown options View </> README
Line chart sm View </> README
Line chart sm colours View </> README
Line chart with CI area View </> README
Line chart with CI area sm View </> README
Population pyramid View </> README
Range CI area grouped View </> README
Range plot View </> README
Range plot sm View </> README
Scatter plot View </> README
Scatter plot animated View </> README
Scatter plot sm View </> README
Slope chart View </> README
Split bar chart View </> README
Z annotation example View </> README

About

The official repository of all publication ready ONS charts.

Resources

Stars

Watchers

Forks

Contributors 18