marissaposner / graph-hackathon-2023

Our submission for the Graph Hackathon at UC Boulder February 2023
1 stars 5 forks source link

[BitBuilder] Frontend data cleanup #16

Open ellipsis-dev[bot] opened 1 year ago

ellipsis-dev[bot] commented 1 year ago

Summary:

Issue: https://github.com/marissaposner/graph-hackathon-2023/issues/15

The changes in the diff modify the 'format' function in the 'columns' array in the 'StickyHeadTable' component in /frontend/src/Components/table.js. The 'format' function is updated to use the 'toLocaleString' method to add thousands separators for the 'population' and 'size' columns, and the 'toFixed' method to round the 'density' column to 2 decimal places.

Implementation:

Plan Feedback: Approved by @marissaposner Report: Step Result Details
1
Add thousands separators for large numbersAdding thousands separators for large numbers will make the data more user-friendly and easier to read.
2
Round decimalsRounding decimals will improve the accuracy and consistency of the data.

Something look wrong?: If this Pull Request doesn't contain the expected changes, add more information to #15. Then, add the bitbuilder:create label to try again. For more information, check the documentation.

Generated with :heart: by www.bitbuilder.ai