GithubHelp home page GithubHelp logo

bar-chart's Introduction

Bar-Chart

TABLE OF CONTENT

Description

THis a bar chart that shows the relation of the GDP of the US in relation to the years.More Information: (http://www.bea.gov/national/pdf/nipaguid.pdf)

TOOLS:

  • Vanilla JS; It was easier to build with Javascript as the website does not require to do many things. nested rules, inline imports and more
  • HTML5/CSS6
  • D3.js: a Huge JavaScript libary that can be used to reprsent data, its very flxible thn most of the other ones out therelike chart.js though difficult to implement.;
  • AJAX: with xhr element which is still widely sipported accross multiple browsers than the fetch API.

USERS STORY COMPLETED

  • User is sees a Title of Bar chart.
  • Bottom and left axis are present.
  • Rectangles representing bars.
  • Each bar has a property of data-date and data-gdp containing the date and GDP.
  • Each bar element's height accurately represent the data's corresponding GDP .
  • I can mouse over an area and see a tooltip with a corresponding id="tooltip" which displays more information about the area.
  • My tooltip should have a data-date property that corresponds to the data-date of the active area..

PROBLEMS FACED

This beign my first Data Vizualization project ever usig the D3.js libary it was difficult to put everything together after learning with combination of AJAX. Also faced lot of problems in scaling my data and getting the right orientation to place on the axis.

CREDITS

This Bar-chart was created after completing my Data vizualization course on FREE CODE CAMP.

bar-chart's People

Contributors

yagi91 avatar

Watchers

 avatar

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.