1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

位置情報で日本を点描画

Posted at

投稿練習がてら。

__results___6_0.png

address lat lon
札幌市中央区南3条西11丁目 43.055390 141.340980
札幌市北区北24条西6丁目1-1 43.090691 141.340922
.... ... ....

こんなデータ(dataj.csv)を用意して、pandasとseaborn,matplotlibで描画

japan.py
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns

df = pd.read_csv('../input/dataj.csv')
df.head()

x = df["lon"]
y = df["lat"]

plt.figure(figsize=(10,10))
plt.title("Cities Latitude and Longitude")
plt.xlabel("Longitude")
plt.ylabel("Latitude")
plt.scatter(x, y,s=1, alpha=1)
plt.show()

みたいな。市町村別のなんらかのデータ可視化をしたい。

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?