Skip to content

jonahgoldwastaken/frontend-data

Repository files navigation

Frontend Data

WikiConceptData visualisation

Screenshot of data-visualisation

This repo is created to use the data processed in the functional-programming repo, to create a data visualisation using D3. The data consists of parking data gathered by the RDW (Dutch Vehicle Authority), which can bring many great insights when put into a data visualisation. Read more about the assingment in my Debriefing, and read about the concept further below

Learning goals

  • Understanding how D3 works
  • Using D3 to create a data visualisation with data I myself have processed.

Getting started

Setting up the repo

To get started, you first need to clone the repo and install the dependencies:

git clone https://github.com/theonejonahgold/frontend-data
cd frontend-data
yarn install || yarn

Available commands

yarn dev   # Opens a dev server and watches src files.
yarn build # Builds a bundle for the website.
yarn lint  # Runs ESLint on files to check for consistent code.

Concept

Extended version

Main Question

What is the relation between distance and availability of parking places to hot-spots in the city?

Research questions

  • How close are parking areas to the hot-spot?
  • What are the average hours of the parking areas?
  • What are the capacities of the parking areas?

Used variables

The used variables are available through this link.

Project structure

.
├── src    # Contains JS and CSS source code.
│   ├── utilities   # Utilities are general functions that can be adapted to certain use cases. They are divided into files named after the type they manipulate.
│   ├── helpers     # This folder is for functions used for specific use cases like language parsing.
│   ├── modules     # The modules folder is a place where all functions compositions are written.
│   ├── index.js    # Where it all comes together. This file is run when compiled to JS code.
│   └── index.css   # The main CSS file, where all the styling is created using TailwindCSS.
├── public
│   └── index.html  # The html file that gets loaded when you run a dev server or run start a production build.
├── build  # Contains identical folder structure as src folder, with compiled JS code, node modules compiled to web modules.
└── config # Contains the Nodemon configurations used for development of this project.

D3 functionalities used

Functional programming principles applied

Tools used