/data-vis

D3 Data Visualizations

Primary LanguageJavaScriptISC LicenseISC

D3 data visualizations

D3 data visualizations sandbox application

⚙️ Setup

npm install
npm start

Testing workflows

The project includes 3 types of testing: static linting, unit testing and acceptance testing.

  • Static linting uses ESLint with the eslint-config-eloquence ruleset.
    • npm run test:lint
  • Unit testing uses Jest with @testing-library/react and is configured in jest.config.js
    • npm run test:unit
    • npm run test:watch
  • Acceptance testing uses Cypress inside of a Docker Compose environment
    • npm run test:acceptance

Development workflows

Start the webpack development server

npm start

Formatting

All JS, JSON, SCSS and markdown files are required to be formatted by Prettier and can be formatted using the format npm command.