Comments (4)
This is not a bug, it is a feature. The fine line is an indicator to which of the cell combinations is zero. Otherwise there is visually no way to distinguish between zero kids in the crew and any of the other factors.
from ggmosaic.
I have the same issue :(
It's ok when I set the offset to zero...
EDITED: Quick fix in my fork, in the divider file (last two commits)
Does the job on my case, haven't tested everything...
Plus I still feel we "see" a fine line of colors for theses 0 weight lines... removing offsets might not be the way to go...
from ggmosaic.
I would agree if the initial data.frame has zeros in it, but since at some point the code is expanding all case it add zeros which were not present.
Maybe it could be added as an option somewhere?
from ggmosaic.
It is tricky to talk about the 'initial data.frame' in the context of a mosaic plot. Mosaic plots are a rendering of a contingency tables. Those do have zeroes, and it is informative to know where these zeroes are.
As an option to not show the space, you can always go to offset = 0.
Anything else will affect the validity of the representation.
from ggmosaic.
Related Issues (20)
- fill aesthetic shouldn't appear in x-axis labels
- Axis labels no longer showing up HOT 30
- Can't change axis labels with `labs` HOT 2
- Add URL to pkgdown website of ggmosaic
- CRAN update HOT 4
- No level names on the axes HOT 3
- Cross-Tabulation feature HOT 2
- Pearson residuals HOT 1
- Customizing the tooltip for a plotly version of a geom_mosaic plot
- "Discrete value supplied to continuous scale" error when ggplot2/ggmosaic is imported HOT 2
- Failure with variables created on the fly
- Warning from tidyr re unite_() deprecation HOT 10
- Failure to Knit to PDF Document HOT 1
- Feature request: residual-based shadings
- Rectangles' borders in ggmosaic HOT 2
- Question:
- Issue using geom_mosaic
- The deprecated feature was likely used in the ggmosaic package HOT 1
- another deprecated feature, in GH repo version HOT 1
- deprecated feature: `unite_()`
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 ggmosaic.