Skip to content

owid/owid-grapher-svgs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

owid-grapher-svgs

Reference data and generated images for comparison.

This repo contains a reference set of static grapher configs and data that can be used alongside the svgTester tools in the owid-grapher repo.

How to use

Use this manually when you have changed grapher, and want to know if your change has changed any chart layouts.

  1. Clone the repo locally, in a sibling folder to owid-grapher.

  2. Regenerate any SVGs that have changed

    node ./itsJustJavascript/devTools/svgTester/export-graphs.js \
        -i ../owid-grapher-svgs/configs \
        -o ../owid-grapher-svgs/svg
    
  3. Use git to see any changes

  4. If there are changes, commit them to a branch and you can see a visual diff on Github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published