Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 728 Bytes

File metadata and controls

42 lines (30 loc) · 728 Bytes

Simple React d3.js examples

run the code

The code is built with create-react-app. To run the examples use following command

  #> yarn install
  #> yarn start

This runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

examples

responsive Treemap exaple

#> components/Treemap/Treemap.jsx

responsible Sankey example

#> components/Sankey/Sankey.jsx

develop

We use eslint with airbnb styleguide. To lint and automatically fix, run the following command

lint

  #> yarn run lint-fix

test

  #> yarn test