I have a few issues with getting a pgfplot right. I do not have much experience with pgfplots and neither online tutorials nor the pgfplots manuel could help me. The plot I want to create is a bar chart with three different plots. The first plot shall only have a y value for x = 1, the other two only for 2 <= x <= 32. My current tex code (with dummy y values) is the following:
\begin{tikzpicture}
\begin{axis}[
xlabel=x,
ylabel=y,
symbolic x coords={1,2,4,8,16,32},
xtick=data,
enlargelimits=0.05,
legend pos=north east,
ybar interval=0.7,
ymajorgrids=true,
y grid style=dashed,
]
% A
\addplot coordinates {
(1,6)
};
% B
\addplot coordinates {
(2,5) (4,4) (8,3) (16,2) (32,1)
};
% C
\addplot coordinates {
(2,5) (4,4) (8,3) (16,2) (32,1)
};
\legend{A,B,C}
\end{axis}
\end{tikzpicture}
This code produces a plot that looks like this:

Now, there are a few issues with this plot which I do not know how to fix.
- No values are visible on the x axis
- The 'A' plot is not visible
- The plots for x = 32 are missing completely
Thank you very much for your help in advance!

pgfplotscounts the number of\addplots, and makes room for that number of bars at each coordinate. There is one method shown in https://tex.stackexchange.com/questions/43832/how-can-i-create-bar-plot-groups-of-different-sizes-in-pgfplots – Torbjørn T. Sep 13 '21 at 16:17