Giter Site home page Giter Site logo

js-spotify-api-ajax-v-000's Introduction

Visualizing A Song's Popularity Using Spotify

Objectives

Build a page that uses data from the Spotify's API Top Tracks to render a bar chart using Chart.js. It will display the 10 most popular Elvis Presley songs and will have track names on the x-axis and popularity on the y-axis.

example pic

Instructions

You will need to make an AJAX call using the Artist Top Tracks URL describe here Spotify's API Top Tracks

Take a look at the spec/spotify-chart.spec.js file to get started. This lab isn't fully tested so while every spec may pass, you might not have a functioning product. You will only be modifying the js/spotify-chart.js to pass the first six tests.

The final step of this lab will be to run your server with ruby -run -e httpd . -p 8000 and opening up localhost:8000. Verify that your chart looks similar to the chart in this readme, then open spec/spotify-chart.spec.js and set the variable signature equal to your first and last names, in a string. That should make the final test pass.

Note: We've intentionally left out notes on using Chart.js. Be sure to read the docs and exercise some google-foo if you run into something challenging. Also note that these docs linked reference v1, as that is the version currently loaded in the lab.

Resources

View Spotify API Lab on Learn.co and start learning to code for free.

js-spotify-api-ajax-v-000's People

Contributors

irmiller22 avatar kthffmn avatar pletcher avatar annjohn avatar cbdileo avatar deniznida avatar jongrover avatar msuzoagu avatar victhevenot avatar fs-lms-test-bot avatar sarogers avatar octosteve avatar fislabstest avatar cernanb avatar joshuabamboo avatar sensei100 avatar

Watchers

James Cloos avatar  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.