/OpenIntel

D3可视化

Primary LanguageJavaScript

Openintel

This is a visualization of the data from the Openintel dataset web

Tabel of content

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git@github.com:MartijnReeuwijk/OpenIntel.git
  • cd OpenIntel
  • npm install

Running

For now its just a CLI client app Just run the "app" by using this line of code inside the correct folder Our port is a default of 5000.

  • Npm start

Linting

For linting i used CleanCss and Prettier To run the Prettier use the code below

  • npm run clean

Build With

Data formating

Data formating

The data we got from Openintel was clean and in a good readable format however we did change it a bit to better fit our needs. We counted all the TLD and added them together to get a total of a single TLD. We also added the total values form a TLD.

Data output example

Standard use object

This is an example on how the data looks.

nl: Array(31)
0: {date: "2016-04-01T00:00:00.000Z", values: Array(50), country: "nl", all: Array(6), total: 3329761}
1: {date: "2016-05-01T00:00:00.000Z", values: Array(50), country: "nl", all: Array(6), total: 3337435}
2: {date: "2016-06-01T00:00:00.000Z", values: Array(50), country: "nl", all: Array(6), total: 3342944}
3: {date: "2016-07-01T00:00:00.000Z", values: Array(50), country: "nl", all: Array(6), total: 3350057}
4: {date: "2016-08-01T00:00:00.000Z", values: Array(50), country: "nl", all: Array(7), total: 3353996}

With in on the inside of the values array

1: {name: "metaregistrar.nl.", value: 370038}
2: {name: "transip.net.", value: 326939}
3: {name: "firstfind.nl.", value: 266901}
4: {name: "rzone.de.", value: 152024}

Visualization

For the visualization we used four different types of charts and designs. Through out our multiple designs we want to create a funnel effect. Global data at the start and in the end very specific data about a country.

Here we went for a bubble chart to show the massive size of .com in comparison to other TLD's. In this visualization you can clearly see that .nl and .ru are way larger in size then any other country based TLD. Center

Here we show to where the TLD are hosted/registered. We show how foainstace .nl is split Donut

In the Sunburst chart we show you what a country makes based on the sales on the national TLD's. Sunburst

In this population chart we show how the population is divided by the population. Here we show if the population was divided the same way as an countries TLD's Population

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments and Thanks

  • Datavisual squad
  • Thanks to D3 Mike Bostock
  • What the world eats from Nationalgeographic Natgeo