All Projects → BinaryMuse → Planetary.js

BinaryMuse / Planetary.js

Licence: mit
🌎 Awesome interactive globes for the web

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to Planetary.js

jpn-atlas
TopoJSONフォーマットの日本の国、都道府県、市区町村の境界データ。Japanese municipality and prefecture boundary data in topojson format.
Stars: ✭ 17 (-98.9%)
Mutual labels:  d3, topojson
Awesome Frontendmasters
📚 List of awesome frontendmasters course resources
Stars: ✭ 110 (-92.88%)
Mutual labels:  d3
C3
📊 A D3-based reusable chart library
Stars: ✭ 9,163 (+493.07%)
Mutual labels:  d3
D3.chart.sankey
Reusable D3 Sankey diagram using d3.Chart
Stars: ✭ 103 (-93.33%)
Mutual labels:  d3
Plotly.py
The interactive graphing library for Python (includes Plotly Express) ✨
Stars: ✭ 10,701 (+592.62%)
Mutual labels:  d3
D3js doc
D3js中文文档 D3中文 📊 📈 🎉
Stars: ✭ 1,599 (+3.5%)
Mutual labels:  d3
Webclient Javascript
MapGIS Client for JavaScript, is a cloud GIS network client development platform. It makes a perfect fusion of traditional WebGIS and cloud GIS; also integrates four mainstream map open source frameworks and visualization libraries such as Echarts, MapV, and D3, etc.. Therefore, highly-efficient visual expression and analysis of big data and real-time streaming data have been further enhanced.
Stars: ✭ 88 (-94.3%)
Mutual labels:  d3
Just Dashboard
📊 📋 Dashboards using YAML or JSON files
Stars: ✭ 1,511 (-2.2%)
Mutual labels:  d3
Stocks
machine learning web app game where the user competes against the AI in picking stocks
Stars: ✭ 108 (-93.01%)
Mutual labels:  d3
App
📱 Mobile first web app to monitor PyTorch & TensorFlow model training
Stars: ✭ 103 (-93.33%)
Mutual labels:  d3
Translation
翻译,学习英语和前端技术
Stars: ✭ 102 (-93.4%)
Mutual labels:  d3
D3 Wasm Force
A re-implementation of d3-force with WebAssembly.
Stars: ✭ 93 (-93.98%)
Mutual labels:  d3
Freecodecamp.cn
FCC China open source codebase and curriculum. Learn to code and help nonprofits.
Stars: ✭ 36,576 (+2267.38%)
Mutual labels:  d3
Vega
A visualization grammar.
Stars: ✭ 9,554 (+518.38%)
Mutual labels:  d3
Stockflux
StockFlux is a desktop application developed by Scott Logic that uses the OpenFin HTML5 container together with React, Redux, ES2015 and d3fc
Stars: ✭ 112 (-92.75%)
Mutual labels:  d3
React Charts
⚛️ Simple, immersive & interactive charts for React
Stars: ✭ 1,302 (-15.73%)
Mutual labels:  d3
D3 Audio Spectrum
Spectrum analysis demo using D3 and HTML5 audio
Stars: ✭ 101 (-93.46%)
Mutual labels:  d3
D3 Tube Map
Draw tube maps in the style of the London Underground using d3
Stars: ✭ 106 (-93.14%)
Mutual labels:  d3
Markvis
make visualization in markdown. 📊📈
Stars: ✭ 1,509 (-2.33%)
Mutual labels:  d3
Vue D3
a vue.js plugin for D3
Stars: ✭ 113 (-92.69%)
Mutual labels:  d3

Planetary.js

Planetary.js is a JavaScript library for building awesome interactive globes, like this one:

Planetary.js Screenshot

Planetary.js is based on D3.js and TopoJSON. It has built-in support for zoom, rotation, mouse interaction, and displaying animated "pings" at any coordinate. Via plugins, Planetary.js can be extended to do whatever you want!

Examples, documentation, and more can be found at planetaryjs.com.

Requirements

Download

Download Planetary.js from the Planetary.js web site.

Quick Start

You'll need to run this page from a web server of some kind so that Planetary.js can load the TopoJSON data via Ajax.

HTML:

<html>
<head>
  <script type='text/javascript' src='http://d3js.org/d3.v3.min.js'></script>
  <script type='text/javascript' src='http://d3js.org/topojson.v1.min.js'></script>
  <script type='text/javascript' src='planetaryjs.min.js'></script>
</head>
<body>
  <canvas id='globe' width='500' height='500'></canvas>
  <script type='text/javascript' src='yourApp.js'></script>
</body>
</html>

JavaScript (yourApp.js):

var planet = planetaryjs.planet();
// You can remove this statement if `world-110m.json`
// is in the same path as the HTML page:
planet.loadPlugin(planetaryjs.plugins.earth({
  topojson: { file: 'http/path/to/world-110m.json' }
}));
// Make the planet fit well in its canvas
planet.projection.scale(250).translate([250, 250]);
var canvas = document.getElementById('globe');
planet.draw(canvas);

Congratulations! You've rendered your first globe.

Documentation

In-depth documentation can be found at planetaryjs.com.

Building

Building the project requires Node.js. Once you've installed the project's dependencies with npm install, you can build the JavaScript to the dist directory with npm run build.

License

Planetary.js is licensed under the MIT license. See the LICENSE file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].