Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big number component #248

Closed
mbostock opened this issue Nov 28, 2023 · 2 comments
Closed

Big number component #248

mbostock opened this issue Nov 28, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mbostock
Copy link
Member

We need a big number component for dashboards.

@mbostock mbostock added the enhancement New feature or request label Nov 28, 2023
@mbostock mbostock added this to the Early access milestone Nov 28, 2023
@mbostock
Copy link
Member Author

We should consider this and other dashboard-centric components part of a new “recommended” library akin to @observablehq/dot or @observablehq/inputs. It should be importable into vanilla JavaScript per #294. We should publish it separately to npm etc.

@cinxmo cinxmo self-assigned this Dec 18, 2023
@Fil
Copy link
Contributor

Fil commented Jan 9, 2024

Note that I've added a trendTitle option in bigNumber.js file for my plot example:
https://github.com/observablehq/cli-examples/pull/18/files#diff-54a1949bca404dcf5ac563ee8bebb5a7bc9ed6e773ff0881d99b825a3a22b19f

this allows to give the trend a (native) tooltip explaining what it compares to (last week, YoY, etc).

Fil added a commit that referenced this issue Jan 9, 2024
@Fil Fil mentioned this issue Jan 9, 2024
@cinxmo cinxmo assigned Fil and unassigned cinxmo Jan 16, 2024
@Fil Fil closed this as completed Jan 18, 2024
Fil added a commit that referenced this issue Jan 20, 2024
* remove the bignumber component

closes #534
related #248
Fil added a commit that referenced this issue Jan 20, 2024
* * add a Plot component
* remove the bignumber component

closes #534
related #248

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants