{ "cells": [ { "cell_type": "markdown", "id": "59566f51", "metadata": {}, "source": [ "## Programming Languages by Age" ] }, { "cell_type": "markdown", "id": "e01e4bc0", "metadata": {}, "source": [ "What are the most popular languages for a specific age group? We can find that out using data extracted from [Diffbot](https://towardsdatascience.com/build-and-analyze-knowledge-graphs-with-diffbot-2af83065ade0). [Here](https://github.com/khuyentran1401/Data-science/blob/master/visualization/programming_language_by_age/programming_languages.ipynb) is the code used to extract the data from Diffbot.\n", "\n", "I uploaded the dataset used in this tutorial to [this repository](https://github.com/khuyentran1401/dataset) so that you can try out the dataset yourself. " ] }, { "cell_type": "code", "execution_count": null, "id": "9fabb485", "metadata": { "tags": [ "hide-cell" ] }, "outputs": [], "source": [ "!pip install observable_jupyter" ] }, { "cell_type": "code", "execution_count": 1, "id": "d38c0818", "metadata": { "ExecuteTime": { "end_time": "2022-01-04T14:48:36.910681Z", "start_time": "2022-01-04T14:48:36.101600Z" } }, "outputs": [], "source": [ "from observable_jupyter import embed\n", "import pandas as pd " ] }, { "cell_type": "code", "execution_count": 2, "id": "5b459f02", "metadata": { "ExecuteTime": { "end_time": "2022-01-04T14:49:14.265751Z", "start_time": "2022-01-04T14:49:14.134415Z" } }, "outputs": [ { "data": { "text/html": [ "
\n", " | born_year | \n", "language | \n", "count | \n", "
---|---|---|---|
0 | \n", "2001-01-01 | \n", "Abap | \n", "12 | \n", "
1 | \n", "2001-01-01 | \n", "Ada | \n", "2 | \n", "
2 | \n", "2001-01-01 | \n", "C | \n", "0 | \n", "
3 | \n", "2001-01-01 | \n", "C# | \n", "644 | \n", "
4 | \n", "2001-01-01 | \n", "Cobol | \n", "9 | \n", "
5 | \n", "2001-01-01 | \n", "Dart | \n", "29 | \n", "
6 | \n", "2001-01-01 | \n", "Go | \n", "44 | \n", "
7 | \n", "2001-01-01 | \n", "Groovy | \n", "6 | \n", "
8 | \n", "2001-01-01 | \n", "Haskell | \n", "10 | \n", "
9 | \n", "2001-01-01 | \n", "Java | \n", "1946 | \n", "