Coder Social home page Coder Social logo

datavisd3-1's Introduction

Data story using the provided dataset

In this story we will have having

  • Chapter1: The Rule of European Unis
  • Chapter2: The Rise of Asian Unis
  • Comparing facts: Asian Unis x European Unis
  • Future Aim: Conquering the top 10
  • Conclusion: The future?

Everywhere in our story Unis refers to Universities.

The entire story you'll find on the site!

Thought process behind the data story

  • At the very first glance of the datasets we observerd the rise of Asian Universites.
  • So, we decided to go with this story
  • We don't have any bias, we have gone with the flow

Algorithms / libraries used to generate the visualization

  • Data Visualisation using D3
  • D3 Bubble Map
  • echarts

This code generates a D3 bubble map that displays the number of universities in each country for a given year. The map uses data from two JSON files: world.geojson and all_years_data.json.

Getting Started

To use this code, you will need to include the D3 library in your project. You can do this by adding the following script tag to your HTML file:

<script src="https://d3js.org/d3.v4.min.js"></script>

You will also need to include the world.geojson and all_years_data.json files in your project. These files contain the geographic and university data used to generate the map.

SettingUp

To generate the map, simply open the HTML file in your browser. The map will be displayed in the #map-elements div. The map will display data for all years contained in the all_years_data.json file.

You can modify the map by changing the data in the all_years_data.json file, or by modifying the code to display different data. You can also modify the map styling by modifying the CSS in the HTML file.

The code has already included a CSS style that sets the font-family for all elements to 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif and adds a white background, padding of 5px, 70% opacity, and font size of 24px to any element with the title class.

If you are not able to see world map or get this error while setting up the project, please open the html file on localhost

Screenshot 2023-04-20 181608

datavisd3-1's People

Contributors

lillestkittyk avatar cnu1812 avatar miguelbcodes 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.