-
Shapefile that is distributed from NaturalEarth( http://www.naturalearthdata.com/ ) have the data that (I am not sure all of the files but) the Northern Territories and Takeshima are not the Japanese territory. It is different from the Japanese government claims( http://www.mofa.go.jp/region/europe/russia/territory/index.html http://www.mofa.go.jp/region/asia-paci/takeshima/index.html ). The author of D3.js is using this file, and the people who do not know how to convert Shapefile to Geo/Topojson use his file as it is, it would imperceptibly become the de facto standard. This is an expressed concern that it could be causing the common sense of the world.
-
Natural Earthで配布されているShapefileは(すべてのファイルを確認していないですが)北方領土や竹島が、日本政府の主張( http://www.mofa.go.jp/mofaj/area/hoppo/index.html http://www.mofa.go.jp/mofaj/area/takeshima/index.html )と異なる、日本の領土ではないようなデータになっています。D3.jsの作者がこのファイルを使用していて、ShapefileをGeo/Topojsonへ変換する方法を知らない人たちは彼のファイルをそのまま使うので、いつの間にかこのような領土の表示が事実上の標準、常識になってしまうことに懸念を表明します。
-
I wrote an simple article about 'reusable' way of D3.js as a part of Advent Calendar called "Data Visualization Advent Calendar 2014." This code is a example of an implementation of a toggle navigation.
-
Data Visualization Advent Calendar 2014の記事として、D3.jsのreusableについてかんたんに紹介記事を書きました。これはreusableなコードの例として、トグルナビゲーションを実装してみました。
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
別ウインドウで開、挙動を確認ください。 Please check how it works to open new window with raw files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="terraformer.min.js"></script> | |
<script src="terraformer-wkt-parser.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var menuID = 0; | |
var menuItems = d3.select("#navBlock").append('form').selectAll("span") | |
.data( dataArray ) | |
.enter().append("span").attr("class", "navColumn"); | |
menuItems.append("input") | |
.attr({ | |
type: "radio", | |
class: "nav", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
Built with blockbuilder.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |