- Use command line to create a new project folder called “visData”
- Create your typical website directory layout, including a “data.js” file
- Go to https://randomuser.me/api
- This website offers a simple service - it returns JSON data with random user information (the names, numbers, passwords, etc. are not real!)
- Take a moment to see how the data is structured.
- You’ll be using data like this to make a website!
- Look at the documentation to see how you would request multiple users
- The URL would look something like “https://randomuser.me/api/?results=5”
- Make a request for anywhere between 10 and 30 users
- Copy ALL of the JSON (
Ctrl + A
thenCtrl + C
) and paste it into the “data.js” file storing it into a variable calleddata
- In your “index.html” file, I would recommend referencing the “data.js” file and THEN a “main.js” file, which is where you’ll write your code. It’s a good idea to keep data and data manipulation separate!
- Using everything you know about creating and designing websites, the DOM, event handlers, and objects, you will create a single web page that displays the JSON data in any way you see fit
- Before you begin…
- Wireframe your concept
- Consider the following:
- What information do you want to display? Some of it? All of it?
- You can go to https://randomuser.me/ and see an example of visualizing one user
- How would you visualize 10+ users?
- The urls for the pictures work, so feel free to use them!
- Once done, present your wireframe to your instructional team for approval.
- If your wireframe is not approved, make any necessary revisions and try again.
- Consider the following:
- Once approved, you may begin creating!
- Wireframe your concept
random-data's Introduction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.