Giter VIP home page Giter VIP logo

eduardobattisti / freecodecamp-data-with-barchart Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.91 MB

Project developed according to the requirements of the Data Visualization Projects: Visualize Data with a Bar Chart

Home Page: https://eduardobattisti.github.io/freecodecamp-data-with-barchart/

HTML 13.28% JavaScript 67.12% SCSS 19.60%
d3 d3-visualization d3js vanilla-javascript javascript

freecodecamp-data-with-barchart's Introduction

Data Visualization Projects

Project: Visualize Data with a Bar Chart

Rules:

  1. User Story #1: My chart should have a title with a corresponding id="title".

  2. User Story #2: My chart should have a g element x-axis with a corresponding id="x-axis".

  3. User Story #3: My chart should have a g element y-axis with a corresponding id="y-axis".

  4. User Story #4: Both axes should contain multiple tick labels, each with a corresponding class="tick".

  5. User Story #5: My chart should have a rect element for each data point with a corresponding class="bar" displaying the data.

  6. User Story #6: Each bar should have the properties data-date and data-gdp containing date and GDP values.

  7. User Story #7: The bar elements' data-date properties should match the order of the provided data.

  8. User Story #8: The bar elements' data-gdp properties should match the order of the provided data.

  9. User Story #9: Each bar element's height should accurately represent the data's corresponding GDP.

  10. User Story #10: The data-date attribute and its corresponding bar element should align with the corresponding value on the x-axis.

  11. User Story #11: The data-gdp attribute and its corresponding bar element should align with the corresponding value on the y-axis.

  12. User Story #12: I can mouse over an area and see a tooltip with a corresponding id="tooltip" which displays more information about the area.

  13. User Story #13: My tooltip should have a data-date property that corresponds to the data-date of the active area.

All the requires were fulfilled

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.