var projectLangs = ['Python', 'Go'];
var projectLangCount = [2, 3];
var projectLangData = {
x: projectLangs,
y: projectLangCount,
type: 'bar',
text: projectLangCount.map(String),
textposition: 'auto',
hoverinfo: 'none',
marker: {
color: 'rgb(158,202,225)',
opacity: 0.6,
line: {
color: 'rgb(8,48,107)',
width: 1.5
}
}
};
var projectsByLang = [projectLangData];
var projectLangLayout = {
title: "Projects By Language"
};
Plotly.newPlot('dashboard', projectsByLang, projectLangLayout);
Last active
April 5, 2021 18:42
-
-
Save jhilker98/c02f3fe8a89b0cc12ce131cf33fc7b07 to your computer and use it in GitHub Desktop.
Project Code for my dashboard
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
[ | |
{ | |
"name": "Chronicler", | |
"srclang": "Python", | |
"status": "In Development" | |
}, | |
{ | |
"name": "All For One", | |
"srclang": "HTML", | |
"status": "In Development" | |
}, | |
{ | |
"name": "Newsfeed", | |
"srclang": "Python", | |
"status": "Planning" | |
}, | |
{ | |
"name": "Gonews", | |
"srclang": "Golang", | |
"status": "Planning" | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment