Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ile authored Mar 21, 2024
1 parent 5659574 commit 2dd1bf7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
global.d3.selectAll('.vars').on('change', input_change);
global.d3.selectAll('#title').on('keypress', title_keyup);
global.d3.selectAll('label span').on('click', get_value_manually);
window.addEventListener('resize', draw);
show_storage();
calculate();
set_intial_values();
Expand Down Expand Up @@ -149,8 +150,6 @@
total: sum(initial)
}]

console.log(data);

data2 = [{
x: Math.ceil(new Date(vars.start_year, 0, 2).getTime() / 1000),
y: data[0]['total']
Expand Down

0 comments on commit 2dd1bf7

Please sign in to comment.