Skip to content
Snippets Groups Projects
Commit c52bbb34 authored by Aaron Cheung's avatar Aaron Cheung
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Showing
with 173 additions and 0 deletions
{"access_token": "BQDnVROlSGF2My8YYIOsaiJZgpYOuWpUbwOZDViKfVJKtaHT0EuddTosUToDlGi3olzh-cS56EqRBULzhDYLcIy3JjBseIEIHO2LqdxNXtxYilJzmP7mt_kUSHAkT20nbdpXAfUVjSl6yFE7h9C6DUYjTOhQldcamXnCtQzgAbqsTmmmGFdze5IUT-4SgviMcGL25IzMiWBiqomsaDQ", "token_type": "Bearer", "expires_in": 3600, "scope": null, "expires_at": 1712152183, "refresh_token": "AQDavcl5h9vMTNkru99TnjlpxhgwPLG3k9m5rCB-Q68f2GhETa478hq5g8qgtROkydpYy7dQvIneii43WdTL32eJUJ9wyhbxuLiS_8PSwnt1MDqkmM3j7r6vuwYFcvHOZRk"}
\ No newline at end of file
%% Cell type:code id:1c3b547f tags:
``` python
```
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<style>
</style>
<div id="fig_el2043622735274922889964572246"></div>
<script>
function mpld3_load_lib(url, callback){
var s = document.createElement('script');
s.src = url;
s.async = true;
s.onreadystatechange = s.onload = callback;
s.onerror = function(){console.warn("failed to load library " + url);};
document.getElementsByTagName("head")[0].appendChild(s);
}
if(typeof(mpld3) !== "undefined" && mpld3._mpld3IsLoaded){
// already loaded: just create the figure
!function(mpld3){
mpld3.draw_figure("fig_el2043622735274922889964572246", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 42.0], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 42.0], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 10, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273527490752", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469713760", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469716880", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469726144", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469716256", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273527494256"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273527487392"}, {"text": "No. of Songs Per Mood for 2019 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273071871648"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 40.0], [-0.4, 40.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 29.0], [0.6, 29.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 22.0], [1.6, 22.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 9.0], [2.6, 9.0]]}, "id": "el204362273527492288", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
}(mpld3);
}else if(typeof define === "function" && define.amd){
// require.js is available: use it to load d3/mpld3
require.config({paths: {d3: "https://d3js.org/d3.v5"}});
require(["d3"], function(d3){
window.d3 = d3;
mpld3_load_lib("https://mpld3.github.io/js/mpld3.v0.5.10.js", function(){
mpld3.draw_figure("fig_el2043622735274922889964572246", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 42.0], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 42.0], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 10, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273527490752", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469713760", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469716880", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469726144", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469716256", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273527494256"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273527487392"}, {"text": "No. of Songs Per Mood for 2019 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273071871648"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 40.0], [-0.4, 40.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 29.0], [0.6, 29.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 22.0], [1.6, 22.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 9.0], [2.6, 9.0]]}, "id": "el204362273527492288", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
});
});
}else{
// require.js not available: dynamically load d3 & mpld3
mpld3_load_lib("https://d3js.org/d3.v5.js", function(){
mpld3_load_lib("https://mpld3.github.io/js/mpld3.v0.5.10.js", function(){
mpld3.draw_figure("fig_el2043622735274922889964572246", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 42.0], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 42.0], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 10, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273527490752", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469713760", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469716880", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469726144", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273469716256", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273527494256"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273527487392"}, {"text": "No. of Songs Per Mood for 2019 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273071871648"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 40.0], [-0.4, 40.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 29.0], [0.6, 29.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 22.0], [1.6, 22.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 9.0], [2.6, 9.0]]}, "id": "el204362273527492288", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
})
});
}
</script>
\ No newline at end of file
DataVis/Mood_Count_2019.png

14 KiB

<style>
</style>
<div id="fig_el2043622735271800328320624386"></div>
<script>
function mpld3_load_lib(url, callback){
var s = document.createElement('script');
s.src = url;
s.async = true;
s.onreadystatechange = s.onload = callback;
s.onerror = function(){console.warn("failed to load library " + url);};
document.getElementsByTagName("head")[0].appendChild(s);
}
if(typeof(mpld3) !== "undefined" && mpld3._mpld3IsLoaded){
// already loaded: just create the figure
!function(mpld3){
mpld3.draw_figure("fig_el2043622735271800328320624386", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 42.0], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 42.0], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 10, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273185228560", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177613168", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177608800", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177611056", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177609184", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273185228992"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108101776"}, {"text": "No. of Songs Per Mood for 2020 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108100912"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 40.0], [-0.4, 40.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 23.0], [0.6, 23.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 22.0], [1.6, 22.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 15.0], [2.6, 15.0]]}, "id": "el204362273527180032", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
}(mpld3);
}else if(typeof define === "function" && define.amd){
// require.js is available: use it to load d3/mpld3
require.config({paths: {d3: "https://d3js.org/d3.v5"}});
require(["d3"], function(d3){
window.d3 = d3;
mpld3_load_lib("https://mpld3.github.io/js/mpld3.v0.5.10.js", function(){
mpld3.draw_figure("fig_el2043622735271800328320624386", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 42.0], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 42.0], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 10, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273185228560", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177613168", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177608800", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177611056", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177609184", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273185228992"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108101776"}, {"text": "No. of Songs Per Mood for 2020 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108100912"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 40.0], [-0.4, 40.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 23.0], [0.6, 23.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 22.0], [1.6, 22.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 15.0], [2.6, 15.0]]}, "id": "el204362273527180032", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
});
});
}else{
// require.js not available: dynamically load d3 & mpld3
mpld3_load_lib("https://d3js.org/d3.v5.js", function(){
mpld3_load_lib("https://mpld3.github.io/js/mpld3.v0.5.10.js", function(){
mpld3.draw_figure("fig_el2043622735271800328320624386", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 42.0], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 42.0], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 10, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273185228560", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177613168", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177608800", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177611056", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177609184", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273185228992"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108101776"}, {"text": "No. of Songs Per Mood for 2020 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108100912"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 40.0], [-0.4, 40.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 23.0], [0.6, 23.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 22.0], [1.6, 22.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 15.0], [2.6, 15.0]]}, "id": "el204362273527180032", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
})
});
}
</script>
\ No newline at end of file
DataVis/Mood_Count_2020.png

13.9 KiB

<style>
</style>
<div id="fig_el2043622731848494246916466391"></div>
<script>
function mpld3_load_lib(url, callback){
var s = document.createElement('script');
s.src = url;
s.async = true;
s.onreadystatechange = s.onload = callback;
s.onerror = function(){console.warn("failed to load library " + url);};
document.getElementsByTagName("head")[0].appendChild(s);
}
if(typeof(mpld3) !== "undefined" && mpld3._mpld3IsLoaded){
// already loaded: just create the figure
!function(mpld3){
mpld3.draw_figure("fig_el2043622731848494246916466391", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 38.85], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 38.85], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 9, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273170123088", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177316528", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177308368", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177319984", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177307168", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273170119152"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273170117088"}, {"text": "No. of Songs Per Mood for 2021 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108311584"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 37.0], [-0.4, 37.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 27.0], [0.6, 27.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 25.0], [1.6, 25.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 11.0], [2.6, 11.0]]}, "id": "el204362273184849424", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
}(mpld3);
}else if(typeof define === "function" && define.amd){
// require.js is available: use it to load d3/mpld3
require.config({paths: {d3: "https://d3js.org/d3.v5"}});
require(["d3"], function(d3){
window.d3 = d3;
mpld3_load_lib("https://mpld3.github.io/js/mpld3.v0.5.10.js", function(){
mpld3.draw_figure("fig_el2043622731848494246916466391", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 38.85], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 38.85], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 9, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273170123088", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177316528", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177308368", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177319984", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177307168", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273170119152"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273170117088"}, {"text": "No. of Songs Per Mood for 2021 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108311584"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 37.0], [-0.4, 37.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 27.0], [0.6, 27.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 25.0], [1.6, 25.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 11.0], [2.6, 11.0]]}, "id": "el204362273184849424", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
});
});
}else{
// require.js not available: dynamically load d3 & mpld3
mpld3_load_lib("https://d3js.org/d3.v5.js", function(){
mpld3_load_lib("https://mpld3.github.io/js/mpld3.v0.5.10.js", function(){
mpld3.draw_figure("fig_el2043622731848494246916466391", {"width": 432.0, "height": 288.0, "axes": [{"bbox": [0.125, 0.125, 0.775, 0.755], "xlim": [-0.5900000000000001, 3.5900000000000003], "ylim": [0.0, 38.85], "xdomain": [-0.5900000000000001, 3.5900000000000003], "ydomain": [0.0, 38.85], "xscale": "linear", "yscale": "linear", "axes": [{"position": "bottom", "nticks": 4, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": false}, "visible": true}, {"position": "left", "nticks": 9, "tickvalues": null, "tickformat_formatter": "", "tickformat": null, "scale": "linear", "fontsize": 10.0, "grid": {"gridOn": true, "color": "#000000", "dasharray": "2.9600000000000004,1.2800000000000002", "alpha": 0.5}, "visible": true}], "axesbg": "#FFFFFF", "axesbgalpha": null, "zoomable": true, "id": "el204362273170123088", "lines": [], "paths": [{"data": "data01", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177316528", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(255, 0, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data02", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177308368", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(128, 0, 128, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data03", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177319984", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 128, 0, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}, {"data": "data04", "xindex": 0, "yindex": 1, "coordinates": "data", "pathcodes": ["M", "L", "L", "L", "Z"], "id": "el204362273177307168", "dasharray": "none", "alpha": 0.7, "facecolor": "rgba(0, 0, 255, 0.7)", "edgecolor": "none", "edgewidth": 1.0, "zorder": 1}], "markers": [], "texts": [{"text": "Mood", "position": [0.49999999999999994, -0.09657836644591611], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "hanging", "rotation": -0.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273170119152"}, {"text": "No. of Songs", "position": [-0.0709378733572282, 0.49999999999999994], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -90.0, "fontsize": 10.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273170117088"}, {"text": "No. of Songs Per Mood for 2021 Playlist", "position": [0.49999999999999994, 1.0275938189845473], "coordinates": "axes", "h_anchor": "middle", "v_baseline": "auto", "rotation": -0.0, "fontsize": 12.0, "color": "#000000", "alpha": 1, "zorder": 3, "id": "el204362273108311584"}], "collections": [], "images": [], "sharex": [], "sharey": []}], "data": {"data01": [[-0.4, 0.0], [0.4, 0.0], [0.4, 37.0], [-0.4, 37.0]], "data02": [[0.6, 0.0], [1.4, 0.0], [1.4, 27.0], [0.6, 27.0]], "data03": [[1.6, 0.0], [2.4000000000000004, 0.0], [2.4000000000000004, 25.0], [1.6, 25.0]], "data04": [[2.6, 0.0], [3.4000000000000004, 0.0], [3.4000000000000004, 11.0], [2.6, 11.0]]}, "id": "el204362273184849424", "plugins": [{"type": "reset"}, {"type": "zoom", "button": true, "enabled": false}, {"type": "boxzoom", "button": true, "enabled": false}]});
})
});
}
</script>
\ No newline at end of file
DataVis/Mood_Count_2021.png

13.5 KiB

DataVis/ValenceSentimentMood_Scatter_2020.png

45.3 KiB

Source diff could not be displayed: it is too large. Options to address this: view the blob.
DataVis/ValenceSentimentMood_Scatter_Dataset.png

120 KiB

DataVis/dtree_confusion_matrix.png

13.2 KiB

DataVis/gnb_confusion_matrix.png

13.1 KiB

DataVis/lr_confusion_matrix.png

12.4 KiB

DataVis/models_accuracy.png

14.9 KiB

DataVis/svc_confusion_matrix.png

12.9 KiB

This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment