Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Vithu0907/dcr-javascript-test

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Control Room - JavaScript Test

Thank you for taking the time to complete this exercise.

Introduction

This project is to build a simple web page with a form, a table and "bubble" chart to display country data as selected by the user.

Please use HTML, JS and native JavaScript (also known as "Vanilla JS", use of jQuery is permissable) for the implementation of the core functionality described below.

Please do not use a JavaScript framework (React, Angular, etc).

To create the "bubble" chart you may use any suitable library; D3.js will, for example, plot a chart similar to the following image:

bubble chart

This exercise is to focus on your JavaScript code and not the appearance of the page.

Please clone (don't fork) this repository, complete the exercises below and then upload to a public repository on GitHub and send us the link.

Please don't spend more than 2 hours on this task. If you reach 2 hours, please commit your code as-is to your repository.

Souce data

The source data for this exercise can be found within this repository at: data/countries.json

On your form please allow the user to select from the following plot options:

By country:

  • Population size
  • Number of borders
  • Number of timezones
  • Number of languages

By region:

  • Number of countries in the region
  • Number of unique timezones in the region

They should only be allowed to pick one plot point at a time, but also be allowed to change their selection and update the chart.

Exercises

Exercise 1 - Form and chart

Please create a basic form for the user to make and update their selection, as described above.

Style as you feel appropriate, you may use any library to assist.

Plot the selected criteria on a "bubble" chart.

Exercise 2 - Display as a table

Underneath the chart display the same data as shown in the chart in a table.

Exercise 3 - Extended information

When hovering over a bubble display a pop-up with more information about that country/region from the JSON data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.