Comments (4)
Hi, thanks for your feedback! Not sure why is not working for you. The only thing I can think off is that the fill
argument needs to be "outside" the aes()
function, for example: geom_col(aes(arr_delay, count), fill = "red")
. Here is a full example that worked on my machine:
flights %>%
filter(arr_delay < 100 , arr_delay > -50) %>%
db_compute_bins(arr_delay) %>%
ggplot() +
geom_col(aes(arr_delay, count), fill = "red")
from dbplot.
You were right. I had tried "fill" in the wrong place. BTW, is there any parameter to, or some sort of modification, that allows changing the default color of a histogram using dbplot_histogram directly?
dbplot functions have worked well for me on tables of ~400 million records so far. Hope to see if it works on several billion records in the near future. Thanks for writing dbplot!
from dbplot.
That's great to hear! Thank you.
Let me see what I can do regarding additional parameters for dbplot_histogram()
. It may be that we could just pass additional arguments passed to dbplot_histogram()
directly to the geom
, the only challenge would be to decide if we're to have a way to know if the parameter should go inside or outside aes()
from dbplot.
Maybe just a fill_manual
or color_manual
argument inside dbplot_
? To emphasize that the parameter is outside aes()
?
from dbplot.
Related Issues (20)
- Add possibility to facet plots HOT 3
- Rstudio webinar - use with SQLite HOT 2
- Job cancelled because SparkContext was shut down
- Use of histogram_numeric function from Hive?
- add vignette example of how to use with a DBIConnection?
- Add support for density plots
- Add support for quantile plot
- Adding legend to boxplot HOT 2
- Add support for MSSQL connections
- object of type 'symbol' is not subsettable
- Error en cargar el paquete dbplot
- Support color aesthetic for boxplots HOT 1
- unused argument (na.rm = TRUE) HOT 1
- db_compute_boxplot in Hive is using percentile instead of percentile approx
- dbplot_histogram resulting in empty plots + proper histograms HOT 3
- URL and BugReports fields in DESCRIPTION HOT 1
- db_compute_raster dropping empty bins HOT 5
- Add support for `int64` results HOT 7
- Improve default naming HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbplot.