Git Product home page Git Product logo

fe3-assessment-2's Introduction

Assessment 2

This is a assessment i needed to acquire dirty data and make an interactive chart out of the data. What is dirty data? well it's data that is incomplete or has missing values. Which is hard to use out of the box. This assessment is about cleaning the data and using it in a creative way.

Background

This assessment is to work on the interaction of a chart that uses dirty data. The dirty data you can aquire of recommended links, I used the dirtiest data i could find from the Central Bureau of Statistics. Eductaion; Goverment spending to education with indication of CBS/OESO.

result of this code

Did I Do That!?

  • I refactored the code of liufly of his .v3 barchart without license.. From v3 to v4.

  • I used the sorted code from barchart by Mike Bostock. To rework it a little bit for the barchart.

  • I started out to clean the data so that it is readable and usable data used from: from the Central Bureau of Statistics. Eductaion; Goverment spending to education with indication of CBS/OESO.

  • Then i made the data fit i used the data from 2010 - 2015 to delete the data that i didn't need. I already refactored the v3 to v4 and made variables dynamic so i could just paste it and fix the little parts.

  • When the sorting worked i created a update() function for every click on the button you change the bar with it's values that goes for color, values en and axis.

  • After that mostly styled my bars in Javascript. And the background and well everything else in CSS

Features

d3 API

License

Check the work of:

I used @liufly .v3 barchart without license. and refactored it to v4 and added interactivity.

For the animation bit of my code i used the sort barchart by Mike Bostock GPLv3.

GPLv3 Vincent Kempers 👨🏽‍💻

fe3-assessment-2's People

Contributors

vincentkempers avatar wooorm avatar

Watchers

 avatar

fe3-assessment-2's Issues

Readme and code

Looks mostly good, but your readme could use more sections, and your code style is sometimes pretty wonky.

Buggy interaction

Something’s up with the interaction! When I switch to revenue or students paying back, the new bars use the y of their stacked representation, but get the width of their grouped representation. Then, when sorting, they get their supposed x and width.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.