Skip to content

Instantly share code, notes, and snippets.

@NPashaP NPashaP/.block
Last active Oct 21, 2018

Embed
What would you like to do?
Leaflet - marker
license: gpl-3.0
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css"/>
<script src="https://unpkg.com/leaflet@1.0.3/dist/leaflet.js"></script>
<style>
*{
margin:0;
}
#map {
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<div id='map'></div>
<script src="http://vizjs.org/viz.v1.3.0.min.js"></script>
<script>
var map = L.map('map',{ center: [37, -96],zoom: 5 });
L.tileLayer(viz.leaflet.tiles.OpenStreetMap.WorldStreet, {
attribution: viz.leaflet.tiles.OpenStreetMap.attribution
}).addTo(map);
L.marker([37, -96]).addTo(map);
</script>
</body>
</html>
@vmksharma

This comment has been minimized.

Copy link

vmksharma commented Oct 21, 2018

Hi Pasha,Can someone help/guide me how to create creative coordinated visualization using d3.js similar to http://bl.ocks.org/NPashaP/96447623ef4d342ee09b with numerous charts and visualization on input of values using d3.csv/d3.json function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.