niklomax / pigsustain

visualisation of Nature Scientific Data paper dataset

Home Page:https://niklomax.github.io/pigsustain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eatlas-template

Template Repo

Using this template repo

The aim of this repo is to host your own instance of Turing Geovisualization Engine on github pages.

This should be three simple steps:

  1. Create repo from this template

Use this template button in green

  1. Edit the data URL in gh-pages.yml with URL of your dataset. So replace https://raw.githubusercontent.com/layik/eatlas-data/main/casualties.csv with your data URL.
  2. Once first actions build is finished, a gh-actions is built, enable gh-pages by assigning branch gh-pages and root as the directorry as shown below:

Setup github pages

You should now have an instance at https://OWNER.github.io/REPO_NAME

Notes

  • Template uses the beta release of of eatlas. This will be updated as eatlas package grows.

  • Pending aove, more settings will be coming to this repo such as disabling the sidebar and customsing the default visualiztions.

Tech notes

  • Current version locks mapbox (via react-map-gl & plotly) to 1.10.x to avoid license issues.

  • This template is a "clean" CRA app with eatlas as the only component.

  • All actios use yarn just because CRA usses yarn by default.

  • Locked react-scripts version to 3.4.4 due to a url-loader issue.

About

visualisation of Nature Scientific Data paper dataset

https://niklomax.github.io/pigsustain

License:MIT License


Languages

Language:HTML 44.6%Language:JavaScript 35.4%Language:CSS 20.1%