Skip to content

Interactive data visualizations with the JavaScript library D3 with two APIs provided by the RDW. This is part of the @cmda-tt

License

Notifications You must be signed in to change notification settings

veerleprins/frontend-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Data

Interactive bar chart with changing y-as when selection a new value

Table of contents:

✒️ Description

For the Frontend Data course within the Information Design semester (@cmda-tt) we learn about the library D3 in JavaScript. This allows visualizations to be made.

This repository shows functional programming using survey data from CMD students from the information design semester. Later in the course, different datasets provided by the RDW will be used to create a visualization with the theme of Cars in the city. This visualization will visualize the following main question:

How about parking an electric car in the Netherlands?

In order to be able to visualize this main question, several sub questions have been created. You can find these in my wiki - Concept

🔸 Feature

This visualization is made with the example from:

The link to my visualization:

Veerle Prins - Interactive Bar Chart

🔗 Datasets

The dataset that was used first is the survey data of 93 CMD students who followed the Information Design semester in year 2020.

Later in the project, the datasets supplied by the RDW will be used on behalf of De Volkskrant. These are public datasets and can be found at the links below:

⬇️ Install

To start, you must have a code editor installed on your computer. For this project (and most of my projects) I used Visual Studio Code. But you can also use Atom, for example.

1. Install npm 💻

Before getting started, you need to install nvm. nvm can be installed by typing the following line of code in terminal and pressing enter:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh

If nvm has been successfully installed, you can check the version by typing the following line of code in the terminal and pressing enter:

nvm --version

2. 📂 Clone folder

Then you need to download this project and open it with your code editor. To do this, open your terminal with the correct path in which you want this repository. Example:

cd/Desktop/Repos

Then type the following line of code into your terminal:

git clone https://github.com/veerleprins/frontend-data.git

With this line of code, you've successfully downloaded the repository to your desired location.

3. Install all the packages 📑

Then type the code below into your terminal:

npm install

With this line of code, you download all the packages (like parcel-bundler) you need for this repo.

4. ✅ Start and run the code

Go to the repository in the terminal and add the following line of code below:

npm run dev

Now you can go to http://localhost:1234/ in your browser and view the visualization! 🙌

🌐 Deploy

To view my site online, please click on the link below:

https://veerleprins-frontenddata.netlify.app/

📚 Sources

Dataset sources:

Code Sources:

🔒 License

This repo is licensed as MIT by ©️ Veerle Prins, 2020

About

Interactive data visualizations with the JavaScript library D3 with two APIs provided by the RDW. This is part of the @cmda-tt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published