{"size": 559, "ext": "js", "max_stars_repo_path": "code/iteracion2-menu.js", "max_stars_repo_name": "adrixp/MemoriaTFG-AdrianPizarroSerrano", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "code/iteracion2-menu.js", "max_issues_repo_name": "adrixp/MemoriaTFG-AdrianPizarroSerrano", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "code/iteracion2-menu.js", "max_forks_repo_name": "adrixp/MemoriaTFG-AdrianPizarroSerrano", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 37.2666666667, "max_line_length": 55, "alphanum_fraction": 0.7638640429}
function changeChart() {
	...
	var entity = document.createElement('a-entity');
	if(selectedChart === "bubble_chart")
		entity.setAttribute(selectedChart, bubble_chart);
	if(selectedChart === "box_bar_chart")
		entity.setAttribute("bar_chart", box_bar_chart);
	if(selectedChart === "cylinder_bar_chart")
		entity.setAttribute("bar_chart", cylinder_bar_chart);
	if(selectedChart === "line_chart")
		entity.setAttribute(selectedChart, line_chart);
	parent.appendChild(entity);
}
document.getElementById("selectChart")
		.addEventListener("change", changeChart);