<jupyter_start><jupyter_text>[![image](https://colab.research.google.com/assets/colab-badge.svg)](https://githubtocolab.com/giswqs/leafmap/blob/master/examples/notebooks/44_attribute_table.ipynb)[![image](https://mybinder.org/badge_logo.svg)](https://gishub.org/leafmap-binder)Uncomment the following line to install [leafmap](https://leafmap.org) if needed.<jupyter_code># !pip install leafmap
import leafmap<jupyter_output><empty_output><jupyter_text>Add vector data to the map and use the GUI to open attribute table.<jupyter_code>m = leafmap.Map()

url = "https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/countries.geojson"
m.add_geojson(
    url,
    layer_name="Countries",
    fill_colors=['red', 'yellow', 'green', 'orange'],
    info_mode=False,
)

in_geojson = 'https://raw.githubusercontent.com/giswqs/leafmap/master/examples/data/cable-geo.geojson'
m.add_geojson(in_geojson, layer_name="Cable lines", info_mode=False)

m<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1536113936927772, 'fraction_numerical': 0.002034587995930824, 'mean_word_length': 6.627906976744186, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '286021', 'license': 'MIT', 'n_tokens_mistral': 372, 'n_tokens_neox': 359, 'n_words': 45, 'path': 'examples/notebooks/44_attribute_table.ipynb', 'repo_name': 'Piphi5/leafmap', 'size': '983'}